Commit 07c9df79 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: Clear error message array at init.

This avoids printing uninitialized bytes if no error message is set
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6d1a2efb)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3b4e9ddd
...@@ -2461,7 +2461,7 @@ static int transcode_init(void) ...@@ -2461,7 +2461,7 @@ static int transcode_init(void)
AVFormatContext *oc; AVFormatContext *oc;
OutputStream *ost; OutputStream *ost;
InputStream *ist; InputStream *ist;
char error[1024]; char error[1024] = {0};
int want_sdp = 1; int want_sdp = 1;
for (i = 0; i < nb_filtergraphs; i++) { for (i = 0; i < nb_filtergraphs; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment