diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-01-18 10:59:32 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-01-26 00:45:05 +0100 |
commit | b3461c29c1aee7d62eeb02a59d46593c60362679 (patch) | |
tree | 542468d213efdefceb8ce45afbb30949447326d4 /tests/ref/lavfi/pixfmts_null | |
parent | d2ee8c17793201ce969afd1f433ba1580c143cd2 (diff) | |
download | ffmpeg-b3461c29c1aee7d62eeb02a59d46593c60362679.tar.gz |
lavf: prevent infinite loops while flushing in avformat_find_stream_info
If no data was seen for a stream decoder are returning 0 when fed with
empty packets for flushing. We can stop flushing when the decoder does
not return delayed delayed frames anymore. Changes try_decode_frame()
return value to got_picture or negative error.
CC: libav-stable@libav.org
Diffstat (limited to 'tests/ref/lavfi/pixfmts_null')
0 files changed, 0 insertions, 0 deletions