Commit 89550b2d authored by Aurelien Jacobs's avatar Aurelien Jacobs

avoid a 'discards qualifiers from pointer' warning

Originally committed as revision 8900 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0cb41728
......@@ -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;
......
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