aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nut.c
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2006-04-23 13:47:13 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2006-04-23 13:47:13 +0000
commit9d4461b9f247a7942d98fda0c27496c6570514d5 (patch)
tree2d0ecc4a18ebdc6d60f93a30a68bf64570c76ae8 /libavformat/nut.c
parentfdb3a3415688efdc1e03b43c7ed6f6bcb95da3e5 (diff)
downloadffmpeg-9d4461b9f247a7942d98fda0c27496c6570514d5.tar.gz
Disable lavf NUT until it is synced to spec
Originally committed as revision 5312 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nut.c')
-rw-r--r--libavformat/nut.c5
1 files changed, 5 insertions, 0 deletions
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 =