[FFmpeg-cvslog] flashsv: set reference frame type to full frame

Diego Biurrun git at videolan.org
Thu Jul 7 00:15:08 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jun 30 15:07:36 2011 +0200| [ecf026f1aa8ffe170b5b8c577cae56a405ebafc8] | committer: Diego Biurrun

flashsv: set reference frame type to full frame

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ecf026f1aa8ffe170b5b8c577cae56a405ebafc8
---

 libavcodec/flashsv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index 4d8762c..e5c6a07 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -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;



More information about the ffmpeg-cvslog mailing list