ffmpeg | branch: release/1.1 | Michael Niedermayer <michae...@gmx.at> | Thu Jan 8 23:02:30 2015 +0100| [e9179e6673ba9eb89e81ccb8f3bef84b715a8aee] | committer: Michael Niedermayer
ffmpeg: Clear error message array at init. This avoids printing uninitialized bytes if no error message is set Signed-off-by: Michael Niedermayer <michae...@gmx.at> (cherry picked from commit 6d1a2efb8ac399a003ea7d3b6f8c641d192567ee) Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e9179e6673ba9eb89e81ccb8f3bef84b715a8aee --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index b8f5bba..611d6a8 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -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 */ _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog