diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-08 23:02:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-08 23:02:30 +0100 |
commit | 6d1a2efb8ac399a003ea7d3b6f8c641d192567ee (patch) | |
tree | 6ea4b8c354266070bdea345582fa1bbc392fa7bf /ffmpeg.c | |
parent | d1d8f866b5400e1cb8ebbd06fde124642e894f31 (diff) |
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>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2542,7 +2542,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++) { |