diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index d53265b418..18a79afbee 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -547,8 +547,12 @@ static int rv10_decode_packet(AVCodecContext *avctx, if(MPV_frame_start(s, avctx) < 0) return -1; ff_er_frame_start(s); + } else { + if (s->current_picture_ptr->f.pict_type != s->pict_type) + return -1; } + av_dlog(avctx, "qscale=%d\n", s->qscale); /* default quantization values */