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, 4 Feb 2019 20:43:30 +0000 (21:43 +0100)
commit4b46d1ee463f6bb2d2be967d418d275a44fe2a9c
treee65711d0707767aa6e6e3e2528a34c406ef785ce
parent56c58b99d0670c8baff64b8b35bc06c9a9f35ef8
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>
libavformat/async.c