comparison riff.c @ 2230:0ff503c4caef libavformat

remove deprecated codec_get_{bmp,wav}_{id,tag}()
author mru
date Sun, 08 Jul 2007 01:49:24 +0000
parents 3804e39efbfd
children 639597604897
comparison
equal deleted inserted replaced
2229:4db0808c3f91 2230:0ff503c4caef
256 if(id!=CODEC_ID_NONE) return id; 256 if(id!=CODEC_ID_NONE) return id;
257 } 257 }
258 return CODEC_ID_NONE; 258 return CODEC_ID_NONE;
259 } 259 }
260 260
261 unsigned int codec_get_bmp_tag(int id)
262 {
263 return codec_get_tag(codec_bmp_tags, id);
264 }
265
266 unsigned int codec_get_wav_tag(int id)
267 {
268 return codec_get_tag(codec_wav_tags, id);
269 }
270
271 enum CodecID codec_get_bmp_id(unsigned int tag)
272 {
273 return codec_get_id(codec_bmp_tags, tag);
274 }
275
276 enum CodecID codec_get_wav_id(unsigned int tag)
277 {
278 return codec_get_id(codec_wav_tags, tag);
279 }
280
281 #ifdef CONFIG_MUXERS 261 #ifdef CONFIG_MUXERS
282 offset_t start_tag(ByteIOContext *pb, const char *tag) 262 offset_t start_tag(ByteIOContext *pb, const char *tag)
283 { 263 {
284 put_tag(pb, tag); 264 put_tag(pb, tag);
285 put_le32(pb, 0); 265 put_le32(pb, 0);