mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
4b8b1415ae
commit
e37e9d58f8
@ -2887,7 +2887,6 @@ int vp78_decode_init(AVCodecContext *avctx, int is_vp7)
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
s->avctx = avctx;
|
s->avctx = avctx;
|
||||||
s->vp7 = avctx->codec->id == AV_CODEC_ID_VP7;
|
|
||||||
s->pix_fmt = AV_PIX_FMT_NONE;
|
s->pix_fmt = AV_PIX_FMT_NONE;
|
||||||
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
|
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
|
||||||
|
|
||||||
|
@ -331,8 +331,6 @@ typedef struct VP8Context {
|
|||||||
int (*decode_mb_row_no_filter)(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr);
|
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);
|
void (*filter_mb_row)(AVCodecContext *avctx, void *tdata, int jobnr, int threadnr);
|
||||||
|
|
||||||
int vp7;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interframe DC prediction (VP7)
|
* Interframe DC prediction (VP7)
|
||||||
* [0] VP8_FRAME_PREVIOUS
|
* [0] VP8_FRAME_PREVIOUS
|
||||||
|
Loading…
Reference in New Issue
Block a user