summaryrefslogtreecommitdiff
path: root/tests/lavf-regression.sh
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-01-18 10:59:32 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-01-26 00:45:05 +0100
commitb3461c29c1aee7d62eeb02a59d46593c60362679 (patch)
tree542468d213efdefceb8ce45afbb30949447326d4 /tests/lavf-regression.sh
parentd2ee8c17793201ce969afd1f433ba1580c143cd2 (diff)
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/lavf-regression.sh')
0 files changed, 0 insertions, 0 deletions