You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit 'a1e2c47cd4fdaa64beda7e6dfa623b65c46f5012'
* commit 'a1e2c47cd4fdaa64beda7e6dfa623b65c46f5012':
libxvid: Return meaningful error messages
Conflicts:
libavcodec/libxvid.c
libavcodec/libxvid_rc.c
See: 2a89afb376
and others
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -47,9 +47,9 @@ av_cold int ff_xvid_rate_control_init(MpegEncContext *s)
|
|||||||
xvid_plugin_2pass2_t xvid_2pass2 = { 0 };
|
xvid_plugin_2pass2_t xvid_2pass2 = { 0 };
|
||||||
|
|
||||||
fd = av_tempfile("xvidrc.", &tmp_name, 0, s->avctx);
|
fd = av_tempfile("xvidrc.", &tmp_name, 0, s->avctx);
|
||||||
if (fd == -1) {
|
if (fd < 0) {
|
||||||
av_log(NULL, AV_LOG_ERROR, "Can't create temporary pass2 file.\n");
|
av_log(NULL, AV_LOG_ERROR, "Can't create temporary pass2 file.\n");
|
||||||
return -1;
|
return fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < s->rc_context.num_entries; i++) {
|
for (i = 0; i < s->rc_context.num_entries; i++) {
|
||||||
|
Reference in New Issue
Block a user