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:19:10 +0100 |
commit | f9bbc26e691fb0adbef03e8fd1ea556287fe2af7 (patch) | |
tree | 63f86a0116a6f9da6803ad72a78fef9a77311d9a | |
parent | b895e29941f06ec7c96a8a0a5036cc11274fdb51 (diff) | |
download | ffmpeg-f9bbc26e691fb0adbef03e8fd1ea556287fe2af7.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>
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2521,7 +2521,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++) { |