diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-06-24 10:41:00 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-25 04:29:03 +0200 |
commit | d5a36edda437d2931c019eb546d2bdfd02efd948 (patch) | |
tree | 98ced545e7070cf280516d079b1d7abca1f8e9cf /libavcodec/vp9.c | |
parent | b04c630a3dbe4ff78233a7b44da092a5fde28f69 (diff) | |
download | ffmpeg-d5a36edda437d2931c019eb546d2bdfd02efd948.tar.gz |
vp9: fix profile check for intraonly frames.
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r-- | libavcodec/vp9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 9d9326c247..3ad9056f18 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -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 { |