diff options
author | James Almer <jamrial@gmail.com> | 2021-08-06 10:29:46 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-08-06 21:22:49 -0300 |
commit | 35331aa2662d4289585ab1bd4d1bf7699661cc5a (patch) | |
tree | d35ca3867d95fc17747c615ab8709f30b0d99622 | |
parent | ec59ca0e6f4ab8a54600824be7cd2aa7fa1c00ec (diff) | |
download | ffmpeg-35331aa2662d4289585ab1bd4d1bf7699661cc5a.tar.gz |
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>
-rw-r--r-- | libavutil/tx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/tx.c b/libavutil/tx.c index 25adb6b37e..fa81ada2f1 100644 --- a/libavutil/tx.c +++ b/libavutil/tx.c @@ -38,6 +38,7 @@ static av_always_inline int mulinv(int n, int m) if (((n * x) % m) == 1) return x; av_assert0(0); /* Never reached */ + return 0; } /* Guaranteed to work for any n, m where gcd(n, m) == 1 */ |