ffplay: ensure that pictq_prev_picture never fills the picture queue
authorMarton Balint <cus@passwd.hu>
Sun, 2 Sep 2012 13:29:54 +0000 (15:29 +0200)
committerMarton Balint <cus@passwd.hu>
Tue, 11 Sep 2012 20:15:37 +0000 (22:15 +0200)
commit81f26d6990d06d50c68dd9d975147e0e6589a8e6
treeb5e9aa78801cd4d9455d155e2ef40558664ab543
parent99b01e458c268cf18ac0981e644e0f835957498a
ffplay: ensure that pictq_prev_picture never fills the picture queue

It was theoretically possible for pictq_prev_picture to fill the picture queue
which may have caused problems when a write to the queue was still in progress.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c