aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-10-10 21:15:21 +0000
committerAlex Converse <alex.converse@gmail.com>2010-10-10 21:15:21 +0000
commitd256d21e3fcef89251ee3140b24d14a034a8219d (patch)
tree6b6dff2f79a803b73ceedc87b0e83cf89db21b6a /libavformat
parentc5ac275b2e2b59804530617d91c0eaae77b5e852 (diff)
downloadffmpeg-d256d21e3fcef89251ee3140b24d14a034a8219d.tar.gz
oggenc: Don't use char* to point to a string constant.
Originally committed as revision 25440 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/oggenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 335fae7a26..3d9a44be24 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -355,7 +355,7 @@ static int ogg_write_header(AVFormatContext *s)
}
} else {
uint8_t *p;
- char *cstr = st->codec->codec_id == CODEC_ID_VORBIS ? "vorbis" : "theora";
+ const char *cstr = st->codec->codec_id == CODEC_ID_VORBIS ? "vorbis" : "theora";
int header_type = st->codec->codec_id == CODEC_ID_VORBIS ? 3 : 0x81;
int framing_bit = st->codec->codec_id == CODEC_ID_VORBIS ? 1 : 0;