]> git.sesse.net Git - ffmpeg/commit
avformat/utils: Combine identical statements
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Wed, 14 Apr 2021 19:56:50 +0000 (21:56 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 18 Apr 2021 02:33:12 +0000 (04:33 +0200)
commita10c47acc29e5dc2c6b5278d0dcef225865f6341
tree48ba7789ac6ea864ed381642651e469b4a5c03a4
parent9b3c46a081a9f01559082bf7a154fc6be1e06c18
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>
libavformat/utils.c