projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cb4172
)
avoid a 'discards qualifiers from pointer' warning
author
Aurelien Jacobs
<aurel@gnuage.org>
Sat, 5 May 2007 18:17:03 +0000
(18:17 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Sat, 5 May 2007 18:17:03 +0000
(18:17 +0000)
Originally committed as revision 8900 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegaudio_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudio_parser.c
b/libavcodec/mpegaudio_parser.c
index
32f52ef
..
96ef0f4
100644
(file)
--- 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;