]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/vocenc.c
Remove check for @ in tcp.c which removes the authorization data from the
[ffmpeg] / libavformat / vocenc.c
index d967fae095e4be900f307aa11a582cc5fed7c849..88fc41c51af3deabe5dc1622157fff9b01a266c9 100644 (file)
@@ -36,7 +36,7 @@ static int voc_write_header(AVFormatContext *s)
         || s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO)
         return AVERROR_PATCHWELCOME;
 
-    put_buffer(pb, voc_magic, sizeof(voc_magic) - 1);
+    put_buffer(pb, ff_voc_magic, sizeof(ff_voc_magic) - 1);
     put_le16(pb, header_size);
     put_le16(pb, version);
     put_le16(pb, ~version + 0x1234);
@@ -90,7 +90,7 @@ static int voc_write_trailer(AVFormatContext *s)
 
 AVOutputFormat voc_muxer = {
     "voc",
-    "Creative Voice File format",
+    NULL_IF_CONFIG_SMALL("Creative Voice file format"),
     "audio/x-voc",
     "voc",
     sizeof(voc_enc_context_t),
@@ -99,5 +99,5 @@ AVOutputFormat voc_muxer = {
     voc_write_header,
     voc_write_packet,
     voc_write_trailer,
-    .codec_tag=(const AVCodecTag*[]){voc_codec_tags, 0},
+    .codec_tag=(const AVCodecTag*[]){ff_voc_codec_tags, 0},
 };