aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-24 22:37:24 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-24 22:37:24 +0100
commitec40d15d823cd1ead8947014dc6925d682b3a2de (patch)
tree54ed053efb966d9968f5f124ef707f207acb1436
parentbd16f0a331eb351a84ed6e71c8329aaaee3d8fb2 (diff)
downloadffmpeg-ec40d15d823cd1ead8947014dc6925d682b3a2de.tar.gz
oggdec: fix warning: assignment discards qualifiers from pointer target type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/oggdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 794a7754db..c3291cfbd4 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);