Skip to content

Commit

Permalink
avcodec/libxvid: Don't set AVCodecContext.codec_id
Browse files Browse the repository at this point in the history
Unnecessary since 2325bda
(and crazy even before then).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
  • Loading branch information
mkver committed Jan 29, 2022
1 parent 577ba4a commit b065a70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libavcodec/libxvid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b065a70

Please sign in to comment.