diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-08 23:02:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 02:13:08 +0200 |
commit | c2439cad51015dc34c9b2c56e779ec46acde9ae9 (patch) | |
tree | bdefc8d46102ac84e58818ddc8e148b195183286 | |
parent | 59fc55b29738a6436489d1b9de112e35ad12a23d (diff) | |
download | ffmpeg-c2439cad51015dc34c9b2c56e779ec46acde9ae9.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
@@ -2086,7 +2086,7 @@ static int transcode_init(void) AVCodecContext *codec; OutputStream *ost; InputStream *ist; - char error[1024]; + char error[1024] = {0}; int want_sdp = 1; /* init framerate emulation */ |