diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-10 20:13:43 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-13 08:29:44 +0100 |
commit | b263415ab7dcb0f7077fed2af4aa507b4be3e2f9 (patch) | |
tree | 76125eb2db5b77fda922f80c0857dff0aee72664 /libavcodec/rv10.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/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index d8261c34c7..0dc2c87335 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -149,7 +149,6 @@ static int rv10_decode_picture_header(MpegEncContext *s) } skip_bits(&s->gb, 3); /* ignored */ s->f_code = 1; - s->unrestricted_mv = 1; return mb_count; } @@ -298,7 +297,6 @@ static int rv20_decode_picture_header(RVDecContext *rv, int whole_size) skip_bits(&s->gb, 5); s->f_code = 1; - s->unrestricted_mv = 1; s->h263_aic = s->pict_type == AV_PICTURE_TYPE_I; s->modified_quant = 1; if (!s->avctx->lowres) |