Commit c2c85529 authored by conrad's avatar conrad

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)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18769 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4a65cf21
...@@ -53,7 +53,7 @@ struct ogg_stream { ...@@ -53,7 +53,7 @@ struct ogg_stream {
uint32_t seq; uint32_t seq;
uint64_t granule, lastgp; uint64_t granule, lastgp;
int flags; int flags;
struct ogg_codec *codec; const struct ogg_codec *codec;
int header; int header;
int nsegs, segp; int nsegs, segp;
uint8_t segments[255]; uint8_t segments[255];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment