]> git.sesse.net Git - ffmpeg/commit
ffplay: fix a crash caused by aborting the video queue
authorMarton Balint <cus@passwd.hu>
Thu, 25 Aug 2011 20:06:40 +0000 (22:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Aug 2011 15:08:46 +0000 (17:08 +0200)
commit0a1cf6621067c4a85b519c8cad5c345c29017f89
tree5dea8f78e89f47d2a372c76295483ccd6a065b45
parent8af9366e2f309f5af43dc5e0ae67de05330b699a
ffplay: fix a crash caused by aborting the video queue

If the video queue is aborted, we have to pop the pending ALLOC event or wait
for the allocation to complete, because the current code assumes that
VideoState->pictq_windex does not change until the allocation is complete.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay.c