diff options
Diffstat (limited to 'libavcodec/c93.c')
-rw-r--r-- | libavcodec/c93.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/c93.c b/libavcodec/c93.c index d587d3d..e7fbcc8 100644 --- a/libavcodec/c93.c +++ b/libavcodec/c93.c @@ -48,11 +48,10 @@ typedef enum { static av_cold int decode_init(AVCodecContext *avctx) { - C93DecoderContext * const c93 = avctx->priv_data; - - avcodec_get_frame_defaults(&c93->pictures[0]); - avcodec_get_frame_defaults(&c93->pictures[1]); + C93DecoderContext *s = avctx->priv_data; avctx->pix_fmt = AV_PIX_FMT_PAL8; + avcodec_get_frame_defaults(&s->pictures[0]); + avcodec_get_frame_defaults(&s->pictures[1]); return 0; } |