[FFmpeg-cvslog] r18769 - trunk/libavformat/oggdec.h
conrad
subversion
Thu May 7 01:02:27 CEST 2009
Author: conrad
Date: Thu May 7 01:02:26 2009
New Revision: 18769
Log:
Warning fix: Make ogg_stream.codec const
This matches the return value of ogg_find_codec and fixes
"libavformat/oggdec.c:333: warning: assignment discards qualifiers from
pointer target type"
Patch by Daniel Verkamp (daniel - drv . nu)
Modified:
trunk/libavformat/oggdec.h
Modified: trunk/libavformat/oggdec.h
==============================================================================
--- trunk/libavformat/oggdec.h Thu May 7 00:38:21 2009 (r18768)
+++ trunk/libavformat/oggdec.h Thu May 7 01:02:26 2009 (r18769)
@@ -53,7 +53,7 @@ struct ogg_stream {
uint32_t seq;
uint64_t granule, lastgp;
int flags;
- struct ogg_codec *codec;
+ const struct ogg_codec *codec;
int header;
int nsegs, segp;
uint8_t segments[255];
More information about the ffmpeg-cvslog
mailing list