Commit 4a0f3087 authored by aurel's avatar aurel

avoid a 'discards qualifiers from pointer' warning


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8900 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7b529ad8
...@@ -186,7 +186,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1, ...@@ -186,7 +186,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1,
if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf
&& buf_size + buf_ptr - buf >= s->frame_size){ && buf_size + buf_ptr - buf >= s->frame_size){
if(s->header_count > 0){ if(s->header_count > 0){
*poutbuf = buf; *poutbuf = (uint8_t *)buf;
*poutbuf_size = s->frame_size; *poutbuf_size = s->frame_size;
} }
buf_ptr = buf + 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