flashsv: set reference frame type to full frame
authorDiego Biurrun <diego@biurrun.de>
Thu, 30 Jun 2011 13:07:36 +0000 (15:07 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 6 Jul 2011 11:21:27 +0000 (13:21 +0200)
libavcodec/flashsv.c

index 4d8762c..e5c6a07 100644 (file)
@@ -141,7 +141,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data,
             s->image_width, s->image_height, s->block_width, s->block_height,
             h_blocks, v_blocks, h_part, v_part);
 
-    s->frame.reference    = 1;
+    s->frame.reference    = 3;
     s->frame.buffer_hints = FF_BUFFER_HINTS_VALID    |
                             FF_BUFFER_HINTS_PRESERVE |
                             FF_BUFFER_HINTS_REUSABLE;