[SCM] libav/experimental: ffmpeg: replace MAX_STREAMS by an arbitrary sanity check

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:16:49 UTC 2013


The following commit has been merged in the experimental branch:
commit 84fd51e5ad41147c12d63471f98fb68361258646
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Fri Oct 1 21:56:09 2010 +0000

    ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
    
    Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index bdd7f3e..9b99786 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -103,6 +103,9 @@ typedef struct AVMetaDataMap {
 static const OptionDef options[];
 
 #define MAX_FILES 100
+#if !FF_API_MAX_STREAMS
+#define MAX_STREAMS 1024    /* arbitrary sanity check value */
+#endif
 
 static const char *last_asked_format = NULL;
 static AVFormatContext *input_files[MAX_FILES];

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list