diff options
Diffstat (limited to 'libavcodec/avs.c')
-rw-r--r-- | libavcodec/avs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avs.c b/libavcodec/avs.c index d5b2167..a6e020a 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -160,10 +160,10 @@ avs_decode_frame(AVCodecContext * avctx, static av_cold int avs_decode_init(AVCodecContext * avctx) { - AvsContext *const avs = avctx->priv_data; + AvsContext *s = avctx->priv_data; avctx->pix_fmt = AV_PIX_FMT_PAL8; - avcodec_get_frame_defaults(&avs->picture); avcodec_set_dimensions(avctx, 318, 198); + avcodec_get_frame_defaults(&s->picture); return 0; } |