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:
parent
daefd8ab2f
commit
20db54906f
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user