avcodec: only set the i_codec when the i_chroma is valid
fmt_out.i_codec is set again on the next line. It never falls back to I420 by default. It's OK, we don't need to pretend we know what we have.
fmt_out.i_codec is set again on the next line. It never falls back to I420 by default. It's OK, we don't need to pretend we know what we have.
VideoLAN code repository instance