diff options
-rw-r--r-- | libavcodec/mpegaudio_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c index 32f52efa5a..96ef0f4636 100644 --- a/libavcodec/mpegaudio_parser.c +++ b/libavcodec/mpegaudio_parser.c @@ -186,7 +186,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1, if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf && buf_size + buf_ptr - buf >= s->frame_size){ if(s->header_count > 0){ - *poutbuf = buf; + *poutbuf = (uint8_t *)buf; *poutbuf_size = s->frame_size; } buf_ptr = buf + s->frame_size; |