diff options
Diffstat (limited to 'libavcodec/vp56.c')
-rw-r--r-- | libavcodec/vp56.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c index 9819393447..a2efca1c9c 100644 --- a/libavcodec/vp56.c +++ b/libavcodec/vp56.c @@ -565,8 +565,8 @@ static int vp56_size_changed(VP56Context *s) static int ff_vp56_decode_mbs(AVCodecContext *avctx, void *, int, int); -int ff_vp56_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, - AVPacket *avpkt) +int ff_vp56_decode_frame(AVCodecContext *avctx, AVFrame *rframe, + int *got_frame, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; VP56Context *s = avctx->priv_data; @@ -649,7 +649,7 @@ int ff_vp56_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, if (s->discard_frame) return AVERROR_INVALIDDATA; - if ((res = av_frame_ref(data, p)) < 0) + if ((res = av_frame_ref(rframe, p)) < 0) return res; *got_frame = 1; |