OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f298c
)
avconv: don't segfault on 0 input files.
author
Anton Khirnov
<anton@khirnov.net>
Tue, 16 Aug 2011 09:32:57 +0000
(11:32 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Tue, 16 Aug 2011 18:24:20 +0000
(20:24 +0200)
avconv.c
patch
|
blob
|
history
diff --git
a/avconv.c
b/avconv.c
index
7be6804
..
24f6cd6
100644
(file)
--- a/
avconv.c
+++ b/
avconv.c
@@
-3656,7
+3656,7
@@
static void opt_output_file(const char *filename)
}
/* copy global metadata by default */
- if (metadata_global_autocopy)
+ if (metadata_global_autocopy
&& nb_input_files
)
av_dict_copy(&oc->metadata, input_files[0].ctx->metadata,
AV_DICT_DONT_OVERWRITE);
if (metadata_streams_autocopy)