aboutsummaryrefslogtreecommitdiffstats
path: root/tools/uncoded_frame.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-09 18:39:47 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-16 02:37:26 +0100
commit97e26937b46323fc85480d32123d5d4f1fcd7832 (patch)
tree6e122437b0c2cc65823aa42c7fc1677cbd6c3ba2 /tools/uncoded_frame.c
parent52a4d4404409af79ae0f5ed32d78386d43b19c84 (diff)
downloadffmpeg-97e26937b46323fc85480d32123d5d4f1fcd7832.tar.gz
avformat/demux: Remove redundant prevention against infinite loop
This piece of code has been added as FFmpeg's answer to infinite loops in try_decode_frame() in commit 6072a19b4f311cb172d45e90daad90824e40e4b6. There is no loop around try_decode_frame() any more, so this code can be removed. This code is only triggered in case a) the codec parameter could not be determined, b) the decode delay could not be guessed or c) no packet was ever encountered and the encoder has the AV_CODEC_CAP_CHANNEL_CONF. In these cases the new code will no longer emit a "decoding for stream %d failed" message, which is prima facie false. In case a) an additional "Could not find codec parameters" message is (and will be) emitted. No warning will be emitted any more in case b) (this happens e.g. with some h264-conformance FATE-files). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tools/uncoded_frame.c')
0 files changed, 0 insertions, 0 deletions