[FFmpeg-cvslog] r10052 - trunk/libavformat/nutenc.c
michael
subversion
Fri Aug 10 15:04:17 CEST 2007
Author: michael
Date: Fri Aug 10 15:04:16 2007
New Revision: 10052
Log:
muxer should now be spec compliant (though it likely still contains bugs!)
Modified:
trunk/libavformat/nutenc.c
Modified: trunk/libavformat/nutenc.c
==============================================================================
--- trunk/libavformat/nutenc.c (original)
+++ trunk/libavformat/nutenc.c Fri Aug 10 15:04:16 2007
@@ -216,7 +216,7 @@ static void put_packet(NUTContext *nut,
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
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);
More information about the ffmpeg-cvslog
mailing list