On 11/6/15, Ronald S. Bultje <rsbul...@gmail.com> wrote: > --- > libavcodec/vp9_parser.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/vp9_parser.c b/libavcodec/vp9_parser.c > index 6713850..2e9235e 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)); > -- > 2.1.2 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >
It should be fine if it works. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel