Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-09 01:02:30 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-01-09 01:02:30 +0300
commit6d1a2efb8ac399a003ea7d3b6f8c641d192567ee (patch)
tree6ea4b8c354266070bdea345582fa1bbc392fa7bf /ffmpeg.c
parentd1d8f866b5400e1cb8ebbd06fde124642e894f31 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 840c6214d3..0741eca261 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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++) {