comparison movenc.c @ 1948:80d330650d35 libavformat

cosmectics, mov -> mp4
author bcoudurier
date Sat, 24 Mar 2007 15:24:36 +0000
parents 4997738b316c
children aa5e56700fdf
comparison
equal deleted inserted replaced
1947:cf875ab73dce 1948:80d330650d35
258 258
259 // DecoderConfig descriptor 259 // DecoderConfig descriptor
260 putDescr(pb, 0x04, 13 + decoderSpecificInfoLen); 260 putDescr(pb, 0x04, 13 + decoderSpecificInfoLen);
261 261
262 // Object type indication 262 // Object type indication
263 put_byte(pb, codec_get_tag(ff_mov_obj_type, track->enc->codec_id)); 263 put_byte(pb, codec_get_tag(ff_mp4_obj_type, track->enc->codec_id));
264 264
265 // the following fields is made of 6 bits to identify the streamtype (4 for video, 5 for audio) 265 // the following fields is made of 6 bits to identify the streamtype (4 for video, 5 for audio)
266 // plus 1 bit to indicate upstream and 1 bit set to 1 (reserved) 266 // plus 1 bit to indicate upstream and 1 bit set to 1 (reserved)
267 if(track->enc->codec_type == CODEC_TYPE_AUDIO) 267 if(track->enc->codec_type == CODEC_TYPE_AUDIO)
268 put_byte(pb, 0x15); // flags (= Audiostream) 268 put_byte(pb, 0x15); // flags (= Audiostream)