Browse Source

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

Originally committed as revision 25440 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Alex Converse 14 years ago
parent
commit
d256d21e3f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggenc.c

+ 1
- 1
libavformat/oggenc.c View File

@@ -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;



Loading…
Cancel
Save