]> git.sesse.net Git - vlc/commitdiff
Contribs: remove unnecessary patch
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Sep 2011 14:49:33 +0000 (16:49 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Sep 2011 14:49:33 +0000 (16:49 +0200)
extras/contrib/src/Patches/libavformat-ape.c.patch [deleted file]
extras/contrib/src/contrib-src.mak

diff --git a/extras/contrib/src/Patches/libavformat-ape.c.patch b/extras/contrib/src/Patches/libavformat-ape.c.patch
deleted file mode 100644 (file)
index ab05cfc..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavformat%2Fape.c;h=187c9865a4fce398c7a4b4b19aad0a59b281a469;hp=2de47ef483245372a9a3c56656cd48a30a383856;hb=1c31b26bdf66879a46a7a3e340da815c1b2125a8;hpb=6947b0c42e0649f0c8355442d1732d642e467902
-
-diff --git a/libavformat/ape.c b/libavformat/ape.c
-index 2de47ef..187c986 100644
---- a/libavformat/ape.c
-+++ b/libavformat/ape.c
-@@ -242,6 +242,10 @@ static int ape_read_header(AVFormatContext * s, AVFormatParameters * ap)
-             avio_seek(pb, ape->wavheaderlength, SEEK_CUR);
-     }
-+    if(!ape->totalframes){
-+        av_log(s, AV_LOG_ERROR, "No frames in the file!\n");
-+        return AVERROR(EINVAL);
-+    }
-     if(ape->totalframes > UINT_MAX / sizeof(APEFrame)){
-         av_log(s, AV_LOG_ERROR, "Too many frames: %d\n", ape->totalframes);
-         return -1;
index 8bc056d8b2d2aa6c657fc7cd841a5a77eaeaeefd..d68fc38e7db29b84e404508d883a0a21b49798a0 100644 (file)
@@ -1097,7 +1097,6 @@ endif
 ifdef HAVE_WIN32
        sed -i "s/std=c99/std=gnu99/" ffmpeg/configure
 endif
-       (cd ffmpeg; patch -p1 < ../Patches/libavformat-ape.c.patch )
        touch $@
 
 else