]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rv10.c
Set Beam Software VB palette opaque.
[ffmpeg] / libavcodec / rv10.c
index 18a79afbee20a02dccbd9c432ac6e8774175593b..20e2829e321e715cdfa93cbaaa35fefaf06dab0b 100644 (file)
@@ -548,8 +548,10 @@ static int rv10_decode_packet(AVCodecContext *avctx,
             return -1;
         ff_er_frame_start(s);
     } else {
-        if (s->current_picture_ptr->f.pict_type != s->pict_type)
+        if (s->current_picture_ptr->f.pict_type != s->pict_type) {
+            av_log(s->avctx, AV_LOG_ERROR, "Slice type mismatch\n");
             return -1;
+        }
     }