mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: ffmpeg: Don't trigger url_interrupt_cb on the first signal avoptions: Check the return value from av_get_number dct32_sse: eliminate some spills Fix dct32() compilation with --disable-yasm Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -313,7 +313,8 @@ int64_t av_get_int(void *obj, const char *name, const AVOption **o_out)
|
||||
double num=1;
|
||||
int den=1;
|
||||
|
||||
av_get_number(obj, name, o_out, &num, &den, &intnum);
|
||||
if (av_get_number(obj, name, o_out, &num, &den, &intnum) < 0)
|
||||
return -1;
|
||||
return num*intnum/den;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user