projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
620a67d
)
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
author
Aurelien Jacobs
<aurel@gnuage.org>
Fri, 1 Oct 2010 21:56:09 +0000
(21:56 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Fri, 1 Oct 2010 21:56:09 +0000
(21:56 +0000)
Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
bdd7f3e
..
9b99786
100644
(file)
--- 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];