diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-11-06 11:57:07 -0500 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-11-06 17:12:03 -0500 |
commit | 20db54906f558796596ba1d03b56dedf0aa25f8c (patch) | |
tree | 14a6a3f16c50d9fd1ec50ac1edbab385d38a98c7 /libavcodec/vp9_parser.c | |
parent | daefd8ab2f2aeb90cd53cb75445faffdc7a3cc79 (diff) | |
download | ffmpeg-20db54906f558796596ba1d03b56dedf0aa25f8c.tar.gz |
vp9_parser: allow superframes with a single frame.
Diffstat (limited to 'libavcodec/vp9_parser.c')
-rw-r--r-- | libavcodec/vp9_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9_parser.c b/libavcodec/vp9_parser.c index 6713850d2b..2e9235e657 100644 --- a/libavcodec/vp9_parser.c +++ b/libavcodec/vp9_parser.c @@ -132,7 +132,7 @@ static int parse(AVCodecParserContext *ctx, size -= sz; \ } \ parse_frame(ctx, *out_data, *out_size); \ - return *out_size + return s->n_frames > 0 ? *out_size : full_size case_n(1, *idx); case_n(2, AV_RL16(idx)); |