changeset 1504:df7ab60d1ee0 libavcodec

This patch marks frames used in RPZA decoder as reference frames, from Roberto Togni (rtogni at freemail.it)
author tmmm
date Sun, 05 Oct 2003 21:48:16 +0000
parents d53b1fa09b60
children 010f76d07a27
files rpza.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rpza.c	Sun Oct 05 15:32:39 2003 +0000
+++ b/rpza.c	Sun Oct 05 21:48:16 2003 +0000
@@ -267,6 +267,7 @@
     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;