diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-08 23:02:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-09 17:18:41 +0100 |
commit | 07c9df792cd4ee1c13243ea5c27d0a64b13e9d80 (patch) | |
tree | 987b44b0a85a2e4aabf6bc5f63d67a6b711aaf9b /ffmpeg.c | |
parent | 3b4e9dddcff61eaf01a9a5b63c1abcc4102a313a (diff) | |
download | ffmpeg-07c9df792cd4ee1c13243ea5c27d0a64b13e9d80.tar.gz |
ffmpeg: Clear error message array at init.
This avoids printing uninitialized bytes if no error message is set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6d1a2efb8ac399a003ea7d3b6f8c641d192567ee)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2461,7 +2461,7 @@ static int transcode_init(void) AVFormatContext *oc; OutputStream *ost; InputStream *ist; - char error[1024]; + char error[1024] = {0}; int want_sdp = 1; for (i = 0; i < nb_filtergraphs; i++) { |