]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truemotion2.c
Set Beam Software VB palette opaque.
[ffmpeg] / libavcodec / truemotion2.c
index 4967e29d931d9d26126443dbf4f96bb98ba06665..1054a7e06b0195034f05cc7908a0265b7945f1ae 100644 (file)
@@ -767,7 +767,7 @@ static int decode_frame(AVCodecContext *avctx,
         av_log(avctx, AV_LOG_ERROR, "Cannot allocate temporary buffer\n");
         return -1;
     }
-    p->reference = 1;
+    p->reference = 3;
     p->buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
     if(avctx->reget_buffer(avctx, p) < 0){
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");