diff options
author | Måns Rullgård <mans@mansr.com> | 2005-09-06 21:25:35 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-09-06 21:25:35 +0000 |
commit | 79396ac68573628f3b59142601db86a0f4ba7ad5 (patch) | |
tree | 4dfa0ec8e3e2e4ae1e1a5508ef8b311892ecf6ff /libavcodec/parser.c | |
parent | b40e353aa49737da9501b092d18011c79def8e30 (diff) | |
download | ffmpeg-79396ac68573628f3b59142601db86a0f4ba7ad5.tar.gz |
Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r-- | libavcodec/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 4d5cb19d22..06cb7d1770 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -159,7 +159,8 @@ int av_parser_change(AVCodecParserContext *s, } } - *poutbuf= buf; + /* cast to avoid warning about discarding qualifiers */ + *poutbuf= (uint8_t *) buf; *poutbuf_size= buf_size; if(avctx->extradata){ if( (keyframe && (avctx->flags2 & CODEC_FLAG2_LOCAL_HEADER)) |