1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

vp9_parser: allow superframes with a single frame.

This commit is contained in:
Ronald S. Bultje 2015-11-06 11:57:07 -05:00
parent daefd8ab2f
commit 20db54906f

View File

@ -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));