mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
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
This commit is contained in:
parent
cf6bae6883
commit
fc430e8fab
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user