diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-10 22:13:43 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-13 10:29:44 +0300 |
commit | b263415ab7dcb0f7077fed2af4aa507b4be3e2f9 (patch) | |
tree | 76125eb2db5b77fda922f80c0857dff0aee72664 /libavcodec/h263dec.c | |
parent | 3988016fa3ec298206b9a5347683764f06ac31c6 (diff) |
avcodec/mpegvideo: Don't set unrestricted_mv for decoders
It is write-only for them.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 9cc2665cac..ac48acf47a 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -83,13 +83,11 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx) s->quant_precision = 5; s->decode_mb = ff_h263_decode_mb; s->low_delay = 1; - s->unrestricted_mv = 1; /* select sub codec */ switch (avctx->codec->id) { case AV_CODEC_ID_H263: case AV_CODEC_ID_H263P: - s->unrestricted_mv = 0; avctx->chroma_sample_location = AVCHROMA_LOC_CENTER; break; case AV_CODEC_ID_MPEG4: |