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 6d1a2efb8a)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3b4e9dddcf
commit
07c9df792c
1 changed files with 1 additions and 1 deletions
2
ffmpeg.c
2
ffmpeg.c
|
|
@ -2461,7 +2461,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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue