aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-27 22:09:21 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-22 15:34:39 +0100
commit4e17946f10d39eec6cc03fb249ae8147373141b6 (patch)
tree75afaa4f48f7c9da9f7f2fc3cd4feef1a167f8e1 /libavcodec/h263dec.c
parenta3f4c930ac3f49f47b6e6ffda925d0dcf80320e2 (diff)
downloadffmpeg-4e17946f10d39eec6cc03fb249ae8147373141b6.tar.gz
mpegvideo: Rework various functions not to use MpegEncContext directly
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 0a030542f2..0e08a8df70 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -463,7 +463,7 @@ int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
}
if (!s->current_picture_ptr || s->current_picture_ptr->f->data[0]) {
- int i = ff_find_unused_picture(s, 0);
+ int i = ff_find_unused_picture(s->avctx, s->picture, 0);
if (i < 0)
return i;
s->current_picture_ptr = &s->picture[i];