提交 d256d21e 编写于 作者: A Alex Converse

oggenc: Don't use char* to point to a string constant.

Originally committed as revision 25440 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 c5ac275b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册