aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/avs.c
diff options
context:
space:
mode:
authorMichael Niedermayer2013-03-12 03:51:59 +0100
committerMichael Niedermayer2013-03-12 03:54:40 +0100
commitb5e5ed8ea707fefcab15dbfa3fa0dc2f36e5275a (patch)
tree8e2c8a028781da99fa256c200e635b16d496e62a /libavcodec/avs.c
parent01a0283c92b124f185ce4e814a1c5b600f1135e0 (diff)
parent3b199d29cd597a3518136d78860e172060b9e83d (diff)
Merge commit '3b199d29cd597a3518136d78860e172060b9e83d'
* commit '3b199d29cd597a3518136d78860e172060b9e83d': lavc decoders: properly initialize AVFrame. Conflicts: libavcodec/avs.c libavcodec/c93.c libavcodec/cinepak.c libavcodec/flashsv.c libavcodec/flicvideo.c libavcodec/iff.c libavcodec/mmvideo.c libavcodec/msrle.c libavcodec/msvideo1.c libavcodec/qtrle.c libavcodec/rpza.c libavcodec/smacker.c libavcodec/smc.c libavcodec/tiertexseqv.c libavcodec/truemotion1.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avs.c')
-rw-r--r--libavcodec/avs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avs.c b/libavcodec/avs.c
index d5b21670c3..a6e020a6d2 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;
}