aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/nvdec_mjpeg.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-14 21:56:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-18 04:33:12 +0200
commita10c47acc29e5dc2c6b5278d0dcef225865f6341 (patch)
tree48ba7789ac6ea864ed381642651e469b4a5c03a4 /libavcodec/nvdec_mjpeg.c
parent9b3c46a081a9f01559082bf7a154fc6be1e06c18 (diff)
downloadffmpeg-a10c47acc29e5dc2c6b5278d0dcef225865f6341.tar.gz
avformat/utils: Combine identical statements
This would only make a difference in case the first attempt to initialize the encoder failed and the second succeeded. The only reason I can think of for this to happen is that the options (in particular the codec whitelist) are not used for the second try and that obviously implies that we should not even try a second time to open the decoder. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/nvdec_mjpeg.c')
0 files changed, 0 insertions, 0 deletions