[SCM] libav/experimental: Disable lavf NUT until it is synced to spec

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:47:31 UTC 2013


The following commit has been merged in the experimental branch:
commit 9d4461b9f247a7942d98fda0c27496c6570514d5
Author: Oded Shimon <ods15 at ods15.dyndns.org>
Date:   Sun Apr 23 13:47:13 2006 +0000

    Disable lavf NUT until it is synced to spec
    
    Originally committed as revision 5312 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/nut.c b/libavformat/nut.c
index eb96923..9c12e76 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 =

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list