ctx->frame_type = get_bits(&ctx->gb, 3);
if (ctx->frame_type >= 5) {
av_log(avctx, AV_LOG_ERROR, "Invalid frame type: %d \n", ctx->frame_type);
+ ctx->frame_type = FRAMETYPE_INTRA;
return AVERROR_INVALIDDATA;
}
IVI45DecContext *ctx = avctx->priv_data;
int result;
+ ctx->gop_invalid = 1;
+
ff_ivi_init_static_vlc();
/* copy rvmap tables in our context so we can apply changes to them */