[FFmpeg-cvslog] r10042 - trunk/libavformat/nutenc.c

michael subversion
Fri Aug 10 02:11:36 CEST 2007


Author: michael
Date: Fri Aug 10 02:11:36 2007
New Revision: 10042

Log:
muxer is not yet fully compliant so prevent people from mistakely using it
while beliving it already is


Modified:
   trunk/libavformat/nutenc.c

Modified: trunk/libavformat/nutenc.c
==============================================================================
--- trunk/libavformat/nutenc.c	(original)
+++ trunk/libavformat/nutenc.c	Fri Aug 10 02:11:36 2007
@@ -335,6 +335,10 @@ 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