mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-01 18:21:04 +00:00
avcodec/libxvid: Don't set AVCodecContext.codec_id
Unnecessary since 2325bdad7b
(and crazy even before then).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
577ba4a1af
commit
b065a70afa
@ -657,7 +657,6 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx)
|
|||||||
if (xvid_flags & AV_CODEC_FLAG_GLOBAL_HEADER) {
|
if (xvid_flags & AV_CODEC_FLAG_GLOBAL_HEADER) {
|
||||||
/* In this case, we are claiming to be MPEG-4 */
|
/* In this case, we are claiming to be MPEG-4 */
|
||||||
x->quicktime_format = 1;
|
x->quicktime_format = 1;
|
||||||
avctx->codec_id = AV_CODEC_ID_MPEG4;
|
|
||||||
} else {
|
} else {
|
||||||
/* We are claiming to be Xvid */
|
/* We are claiming to be Xvid */
|
||||||
x->quicktime_format = 0;
|
x->quicktime_format = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user