diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-08 23:02:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-13 17:06:08 +0100 |
commit | e9179e6673ba9eb89e81ccb8f3bef84b715a8aee (patch) | |
tree | 1709764118cd07dedc10c6a6a27c4bcdc4f3d628 | |
parent | 633461d8bb1d58838c48b29136f6db58712821c1 (diff) | |
download | ffmpeg-e9179e6673ba9eb89e81ccb8f3bef84b715a8aee.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
@@ -2020,7 +2020,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 */ |