[FFmpeg-cvslog] r25440 - trunk/libavformat/oggenc.c
alexc
subversion
Sun Oct 10 23:15:21 CEST 2010
Author: alexc
Date: Sun Oct 10 23:15:21 2010
New Revision: 25440
Log:
oggenc: Don't use char* to point to a string constant.
Modified:
trunk/libavformat/oggenc.c
Modified: trunk/libavformat/oggenc.c
==============================================================================
--- trunk/libavformat/oggenc.c Sun Oct 10 23:04:45 2010 (r25439)
+++ trunk/libavformat/oggenc.c Sun Oct 10 23:15:21 2010 (r25440)
@@ -355,7 +355,7 @@ static int ogg_write_header(AVFormatCont
}
} 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;
More information about the ffmpeg-cvslog
mailing list