muxer should now be spec compliant (though it likely still contains bugs!)

Originally committed as revision 10052 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-08-10 13:04:16 +00:00
parent 14b3f9961f
commit a17e046a42

View File

@ -216,7 +216,7 @@ static void put_packet(NUTContext *nut, ByteIOContext *bc, ByteIOContext *dyn_bc
static void write_mainheader(NUTContext *nut, ByteIOContext *bc){
int i, j, tmp_pts, tmp_flags, tmp_stream, tmp_mul, tmp_size, tmp_fields;
put_v(bc, 2); /* version */
put_v(bc, 3); /* version */
put_v(bc, nut->avf->nb_streams);
put_v(bc, MAX_DISTANCE);
put_v(bc, nut->time_base_count);
@ -375,10 +375,6 @@ static int write_header(AVFormatContext *s){
ByteIOContext *bc = &s->pb;
int i, j;
if(s->streams[0]->codec->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL){
return -1;
}
nut->avf= s;
nut->stream = av_mallocz(sizeof(StreamContext)*s->nb_streams);