avformat/async: fix assertion condition when draining buffer
authorMarton Balint <cus@passwd.hu>
Sun, 27 Jan 2019 18:48:12 +0000 (19:48 +0100)
committerMarton Balint <cus@passwd.hu>
Mon, 11 Feb 2019 21:07:06 +0000 (22:07 +0100)
commit110eff79caf41a1c0ba9f35f5d46d91f8097be5f
tree4b21b822838d013e69ab115af55ff44bb7b944e2
parent33c8009773500fe969af9044a81ca6b18a17a83d
avformat/async: fix assertion condition when draining buffer

Fixes some random assertion failures with

ffprobe -show_packets async:samples/ffmpeg-bugs/trac/ticket6132/Samsung_HDR_-_Chasing_the_Light.ts > /dev/null

Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit 4b46d1ee463f6bb2d2be967d418d275a44fe2a9c)
libavformat/async.c