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
libxvid_rc: fix leaks in ff_xvid_rate_control_init()
Fixes CID733796 Part1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer
12 years ago
parent
4b20b21b8d
commit
229ccce6cc
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/libxvid_rc.c
+ 2
- 0
libavcodec/libxvid_rc.c
View File
@@ -57,6 +57,8 @@ int ff_xvid_rate_control_init(MpegEncContext *s){
if (write(fd, tmp, strlen(tmp)) < 0) {
av_log(NULL, AV_LOG_ERROR, "Error %s writing 2pass logfile\n", strerror(errno));
av_free(tmp_name);
close(fd);
return AVERROR(errno);
}
}
Write
Preview
Loading…
Cancel
Save