From 9d4461b9f247a7942d98fda0c27496c6570514d5 Mon Sep 17 00:00:00 2001 From: Oded Shimon Date: Sun, 23 Apr 2006 13:47:13 +0000 Subject: [PATCH] Disable lavf NUT until it is synced to spec Originally committed as revision 5312 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nut.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavformat/nut.c b/libavformat/nut.c index eb96923f49..9c12e76f17 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -519,6 +519,11 @@ static int nut_write_header(AVFormatContext *s) 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 =