|
|
@@ -388,7 +388,7 @@ static int decode_wmv9(AVCodecContext *avctx, const uint8_t *buf, int buf_size, |
|
|
|
|
|
|
|
|
s->loop_filter = avctx->skip_loop_filter < AVDISCARD_ALL; |
|
|
s->loop_filter = avctx->skip_loop_filter < AVDISCARD_ALL; |
|
|
|
|
|
|
|
|
if (ff_vc1_parse_frame_header(v, &s->gb) == -1) { |
|
|
|
|
|
|
|
|
if (ff_vc1_parse_frame_header(v, &s->gb) < 0) { |
|
|
av_log(v->s.avctx, AV_LOG_ERROR, "header error\n"); |
|
|
av_log(v->s.avctx, AV_LOG_ERROR, "header error\n"); |
|
|
return AVERROR_INVALIDDATA; |
|
|
return AVERROR_INVALIDDATA; |
|
|
} |
|
|
} |
|
|
|