Commit 20db5490 authored by Ronald S. Bultje's avatar Ronald S. Bultje

vp9_parser: allow superframes with a single frame.

parent daefd8ab
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment