summaryrefslogtreecommitdiff
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-09-06 21:25:35 +0000
committerMåns Rullgård <mans@mansr.com>2005-09-06 21:25:35 +0000
commit79396ac68573628f3b59142601db86a0f4ba7ad5 (patch)
tree4dfa0ec8e3e2e4ae1e1a5508ef8b311892ecf6ff /libavcodec/parser.c
parentb40e353aa49737da9501b092d18011c79def8e30 (diff)
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.c3
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))