mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 13:30:45 +00:00
simplificate
Originally committed as revision 8786 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cb2abe3f4d
commit
5eb782f080
@ -3890,13 +3890,11 @@ static int parse_ffconfig(const char *filename)
|
||||
feed->child_argv = (char **) av_mallocz(64 * sizeof(char *));
|
||||
|
||||
for (i = 0; i < 62; i++) {
|
||||
char argbuf[256];
|
||||
|
||||
get_arg(argbuf, sizeof(argbuf), &p);
|
||||
if (!argbuf[0])
|
||||
get_arg(arg, sizeof(arg), &p);
|
||||
if (!arg[0])
|
||||
break;
|
||||
|
||||
feed->child_argv[i] = av_strdup(argbuf);
|
||||
feed->child_argv[i] = av_strdup(arg);
|
||||
}
|
||||
|
||||
feed->child_argv[i] = av_malloc(30 + strlen(feed->filename));
|
||||
|
Loading…
Reference in New Issue
Block a user