Some formats go by multiple names, so checking for equality of the
format name fails. Use the higher-level av_guess_format
which does
the right thing.
Some formats go by multiple names, so checking for equality of the
format name fails. Use the higher-level av_guess_format
which does
the right thing.