summaryrefslogtreecommitdiff
path: root/libavcodec/rpza.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-10-05 21:48:16 +0000
committerMike Melanson <mike@multimedia.cx>2003-10-05 21:48:16 +0000
commit72385798357e53f64ba5ac405fb1b227ddcffc6c (patch)
tree076ebb473bbcbe2424db57ab2ec03a8a13c8453c /libavcodec/rpza.c
parente5021fffce5ede762d6e290ef05580c85fc70146 (diff)
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
Diffstat (limited to 'libavcodec/rpza.c')
-rw-r--r--libavcodec/rpza.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c
index 8027cfd9ab..675d7f34ca 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;