diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-05-05 18:17:03 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-05-05 18:17:03 +0000 |
commit | 89550b2d68579e8b7f43d6f862d8b9aca540a5ee (patch) | |
tree | 5aedd4b60c8c3d8f0981f868d6206e10a9467fc8 /libavcodec/mpegaudio_parser.c | |
parent | 0cb417280384a014f9a339157ba79d61f847d998 (diff) | |
download | ffmpeg-89550b2d68579e8b7f43d6f862d8b9aca540a5ee.tar.gz |
avoid a 'discards qualifiers from pointer' warning
Originally committed as revision 8900 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio_parser.c')
-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; |