changeset 1066:716c75917a10 libavformat

Disable lavf NUT until it is synced to spec
author ods15
date Sun, 23 Apr 2006 13:47:13 +0000
parents fab79efcd476
children 3d7fae1dfda4
files nut.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nut.c	Thu Apr 20 22:17:11 2006 +0000
+++ b/nut.c	Sun Apr 23 13:47:13 2006 +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 =