Browse Source

vp9: fix profile check for intraonly frames.

Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Ronald S. Bultje Michael Niedermayer 10 years ago
parent
commit
d5a36edda4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vp9.c

+ 1
- 1
libavcodec/vp9.c View File

@@ -594,7 +594,7 @@ static int decode_frame_header(AVCodecContext *ctx,
av_log(ctx, AV_LOG_ERROR, "Invalid sync code\n");
return AVERROR_INVALIDDATA;
}
if (ctx->profile == 1) {
if (ctx->profile >= 1) {
if ((fmt = read_colorspace_details(ctx)) < 0)
return fmt;
} else {


Loading…
Cancel
Save