diff options
author | Daniel Verkamp <daniel@drv.nu> | 2009-05-06 23:02:26 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2009-05-06 23:02:26 +0000 |
commit | fc430e8fab5feb13b4e743aa64f30ff440d3e253 (patch) | |
tree | 6ada943d87384468a7817d32272ce86cc05d85ce /libavformat/oggdec.h | |
parent | cf6bae6883607f83f3b042b7b9d711197f736e2a (diff) | |
download | ffmpeg-fc430e8fab5feb13b4e743aa64f30ff440d3e253.tar.gz |
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)
Originally committed as revision 18769 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggdec.h')
-rw-r--r-- | libavformat/oggdec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 1d65ba7979..cbba414626 100644 --- a/libavformat/oggdec.h +++ b/libavformat/oggdec.h @@ -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]; |