comparison vocenc.c @ 3764:9cff515fd4c6 libavformat

voc: add ff_ prefix to some global const data
author aurel
date Sun, 24 Aug 2008 14:12:03 +0000
parents 7a0230981402
children f062deeedb8d
comparison
equal deleted inserted replaced
3763:457a89a670cf 3764:9cff515fd4c6
34 34
35 if (s->nb_streams != 1 35 if (s->nb_streams != 1
36 || s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO) 36 || s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO)
37 return AVERROR_PATCHWELCOME; 37 return AVERROR_PATCHWELCOME;
38 38
39 put_buffer(pb, voc_magic, sizeof(voc_magic) - 1); 39 put_buffer(pb, ff_voc_magic, sizeof(ff_voc_magic) - 1);
40 put_le16(pb, header_size); 40 put_le16(pb, header_size);
41 put_le16(pb, version); 41 put_le16(pb, version);
42 put_le16(pb, ~version + 0x1234); 42 put_le16(pb, ~version + 0x1234);
43 43
44 return 0; 44 return 0;
97 CODEC_ID_PCM_U8, 97 CODEC_ID_PCM_U8,
98 CODEC_ID_NONE, 98 CODEC_ID_NONE,
99 voc_write_header, 99 voc_write_header,
100 voc_write_packet, 100 voc_write_packet,
101 voc_write_trailer, 101 voc_write_trailer,
102 .codec_tag=(const AVCodecTag*[]){voc_codec_tags, 0}, 102 .codec_tag=(const AVCodecTag*[]){ff_voc_codec_tags, 0},
103 }; 103 };