This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/avienc: Correct possible dereference of null
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Roman Savchenko
Michael Niedermayer
10 years ago
parent
e2f3ea1cbb
commit
e85d91da48
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/avienc.c
+ 2
- 0
libavformat/avienc.c
View File
@@ -386,6 +386,8 @@ static int avi_write_header(AVFormatContext *s)
t = NULL;
if (langstr) {
char* str = av_asprintf("Subtitle - %s-xx;02", langstr);
if (!str)
return AVERROR(ENOMEM);
ff_riff_write_info_tag(s->pb, "strn", str);
av_free(str);
}
Write
Preview
Loading…
Cancel
Save