[FFmpeg-cvslog] oggdec: fix warning: assignment discards qualifiers from pointer target type
Michael Niedermayer
git at videolan.org
Mon Dec 24 22:51:52 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Dec 24 22:37:24 2012 +0100| [ec40d15d823cd1ead8947014dc6925d682b3a2de] | committer: Michael Niedermayer
oggdec: fix warning: assignment discards qualifiers from pointer target type
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec40d15d823cd1ead8947014dc6925d682b3a2de
---
libavformat/oggdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 794a775..c3291cf 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -174,7 +174,7 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial)
struct ogg_stream *os;
unsigned bufsize;
uint8_t *buf;
- struct ogg_codec *codec;
+ const struct ogg_codec *codec;
if (ogg->nstreams != 1) {
av_log_missing_feature(s, "Changing stream parameters in multistream ogg", 0);
More information about the ffmpeg-cvslog
mailing list