mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
avutil/tx: add a return at the end of non-void functions
Fixes compilation with GCC 11 when configured with --disable-optimizations Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
ec59ca0e6f
commit
35331aa266
@ -38,6 +38,7 @@ static av_always_inline int mulinv(int n, int m)
|
|||||||
if (((n * x) % m) == 1)
|
if (((n * x) % m) == 1)
|
||||||
return x;
|
return x;
|
||||||
av_assert0(0); /* Never reached */
|
av_assert0(0); /* Never reached */
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Guaranteed to work for any n, m where gcd(n, m) == 1 */
|
/* Guaranteed to work for any n, m where gcd(n, m) == 1 */
|
||||||
|
Loading…
Reference in New Issue
Block a user