From: Mike Melanson Date: Sun, 5 Oct 2003 21:48:16 +0000 (+0000) Subject: This patch marks frames used in RPZA decoder as reference frames, from X-Git-Tag: v0.5~15868 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72385798357e53f64ba5ac405fb1b227ddcffc6c;p=platform%2Fupstream%2Flibav.git This patch marks frames used in RPZA decoder as reference frames, from Roberto Togni (rtogni at freemail.it) Originally committed as revision 2347 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index 8027cfd..675d7f3 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -267,6 +267,7 @@ static int rpza_decode_frame(AVCodecContext *avctx, s->buf = buf; s->size = buf_size; + s->frame.reference = 1; if (avctx->get_buffer(avctx, &s->frame)) { printf (" RPZA Video: get_buffer() failed\n"); return -1;