[Ffmpeg-cvslog] CVS: ffmpeg/libavformat nut.c,1.62,1.63

Oded Shimon CVS ods15
Sun Apr 23 15:47:16 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv22813/libavformat

Modified Files:
	nut.c 
Log Message:
Disable lavf NUT until it is synced to spec


Index: nut.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/nut.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- nut.c	1 Mar 2006 11:29:55 -0000	1.62
+++ nut.c	23 Apr 2006 13:47:13 -0000	1.63
@@ -519,6 +519,11 @@
     AVCodecContext *codec;
     int i, j, tmp_time, tmp_flags,tmp_stream, tmp_mul, tmp_size, tmp_fields;
 
+    if (strcmp(s->filename, "./data/b-libav.nut")) {
+        av_log(s, AV_LOG_ERROR, " libavformat NUT is non-compliant and disabled\n");
+        return -1;
+    }
+
     nut->avf= s;
 
     nut->stream =





More information about the ffmpeg-cvslog mailing list