Mercurial > libavcodec.hg
diff parser.c @ 2864:95bac7109ff0 libavcodec
Kill some compiler warnings. Compiled code verified identical after changes.
author | mru |
---|---|
date | Tue, 06 Sep 2005 21:25:35 +0000 |
parents | 40765c51a7a9 |
children | ef2149182f1c |
line wrap: on
line diff
--- a/parser.c Tue Sep 06 15:02:43 2005 +0000 +++ b/parser.c Tue Sep 06 21:25:35 2005 +0000 @@ -159,7 +159,8 @@ } } - *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))