[Ffmpeg-devel] Disable lavf NUT
Oded Shimon
ods15
Sat Apr 22 14:00:13 CEST 2006
$subj
- ods15
-------------- next part --------------
Index: libavformat/nut.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/nut.c,v
retrieving revision 1.62
diff -u -r1.62 nut.c
--- libavformat/nut.c 1 Mar 2006 11:29:55 -0000 1.62
+++ libavformat/nut.c 22 Apr 2006 11:59:39 -0000
@@ -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-devel
mailing list