diff options
Diffstat (limited to 'media/ffvpx/libavcodec/vp8_parser.c')
-rw-r--r-- | media/ffvpx/libavcodec/vp8_parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/ffvpx/libavcodec/vp8_parser.c b/media/ffvpx/libavcodec/vp8_parser.c index 609f5077d..e2d91b271 100644 --- a/media/ffvpx/libavcodec/vp8_parser.c +++ b/media/ffvpx/libavcodec/vp8_parser.c @@ -28,6 +28,9 @@ static int parse(AVCodecParserContext *s, unsigned int frame_type; unsigned int profile; + *poutbuf = buf; + *poutbuf_size = buf_size; + if (buf_size < 3) return buf_size; |