[SCM] libav/experimental: bunch of small thing patch by (Roman Shaposhnick <rvs at sun dot com>)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:35:54 UTC 2013
The following commit has been merged in the experimental branch:
commit a7beab731d1579967de16ebdf33805189fbd087f
Author: Roman Shaposhnik <roman at shaposhnik.org>
Date: Fri Apr 11 09:43:05 2003 +0000
bunch of small thing patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1753 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/configure b/configure
index acfc04f..9bacced 100755
--- a/configure
+++ b/configure
@@ -45,6 +45,9 @@ case "$cpu" in
mips)
cpu="mips"
;;
+ sun4u)
+ cpu="sparc64"
+ ;;
*)
cpu="unknown"
;;
diff --git a/ffserver.c b/ffserver.c
index 8b220b4..ceca3df 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3823,8 +3823,11 @@ static int parse_ffconfig(const char *filename)
if (!argbuf[0])
break;
- feed->child_argv[i] = av_malloc(strlen(argbuf + 1));
- strcpy(feed->child_argv[i], argbuf);
+ if (strlen(argbuf + 1)) {
+ feed->child_argv[i] = av_malloc(strlen(argbuf + 1));
+ strcpy(feed->child_argv[i], argbuf);
+ } else
+ feed->child_argv[i] = NULL;
}
feed->child_argv[i] = av_malloc(30 + strlen(feed->filename));
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list