diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-01-30 21:37:52 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-04 13:58:38 +0100 |
commit | e37e9d58f8161b8de0848646b4738e5caa5afb0d (patch) | |
tree | 479092df434ab2261780b74039e94e1cd0537f3a /libavcodec | |
parent | 4b8b1415ae7709351eeab4037d0ef2e20bf9f7bd (diff) | |
download | ffmpeg-e37e9d58f8161b8de0848646b4738e5caa5afb0d.tar.gz |
avcodec/vp8: Remove write-only vp7 struct field
This decoder always inlines whether it is VP7 or VP8.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vp8.c | 1 | ||||
-rw-r--r-- | libavcodec/vp8.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 7972775a1c..6b49ec9fe7 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -2887,7 +2887,6 @@ int vp78_decode_init(AVCodecContext *avctx, int is_vp7) int ret; s->avctx = avctx; - s->vp7 = avctx->codec->id == AV_CODEC_ID_VP7; s->pix_fmt = AV_PIX_FMT_NONE; avctx->pix_fmt = AV_PIX_FMT_YUV420P; diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h index eb9fa2f166..798f67b3de 100644 --- a/libavcodec/vp8.h +++ b/libavcodec/vp8.h @@ -331,8 +331,6 @@ typedef struct VP8Context { int (*decode_mb_row_no_filter)(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr); void (*filter_mb_row)(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr); - int vp7; - /** * Interframe DC prediction (VP7) * [0] VP8_FRAME_PREVIOUS |