Commit b065a70a authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avcodec/libxvid: Don't set AVCodecContext.codec_id

Unnecessary since 2325bdad
(and crazy even before then).
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 577ba4a1
......@@ -657,7 +657,6 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx)
if (xvid_flags & AV_CODEC_FLAG_GLOBAL_HEADER) {
/* In this case, we are claiming to be MPEG-4 */
x->quicktime_format = 1;
avctx->codec_id = AV_CODEC_ID_MPEG4;
} else {
/* We are claiming to be Xvid */
x->quicktime_format = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment