diff options
Diffstat (limited to 'libavcodec/snowdec.c')
-rw-r--r-- | libavcodec/snowdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snowdec.c b/libavcodec/snowdec.c index 1bfd096..c8a0327 100644 --- a/libavcodec/snowdec.c +++ b/libavcodec/snowdec.c @@ -551,9 +551,9 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, ff_snow_release_buffer(avctx); if(!(s->avctx->debug&2048)) - *picture= s->current_picture; + av_frame_ref(picture, &s->current_picture); else - *picture= s->mconly_picture; + av_frame_ref(picture, &s->mconly_picture); *got_frame = 1; |