Mercurial > libavformat.hg
changeset 2360:b2eeaa4df665 libavformat
muxer should now be spec compliant (though it likely still contains bugs!)
author | michael |
---|---|
date | Fri, 10 Aug 2007 13:04:16 +0000 |
parents | 1860d5b4be2e |
children | 583c4bb7f063 |
files | nutenc.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/nutenc.c Fri Aug 10 12:59:17 2007 +0000 +++ b/nutenc.c Fri Aug 10 13:04:16 2007 +0000 @@ -216,7 +216,7 @@ 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 @@ 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);