FFmpeg/libavcodec
Michael Niedermayer 09ef98f1ae avcodec/hevcpred_template: Fix integer overflows
signed integer overflow is undefined in C

Fixes the following gcc warnings:
In file included from libavcodec/hevcpred.c:27:0:
libavcodec/hevcpred_template.c: In function ‘intra_pred_8’:
libavcodec/hevcpred_template.c:302:9: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
In file included from libavcodec/hevcpred.c:31:0:
libavcodec/hevcpred_template.c: In function ‘intra_pred_9’:
libavcodec/hevcpred_template.c:302:9: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
In file included from libavcodec/hevcpred.c:35:0:
libavcodec/hevcpred_template.c: In function ‘intra_pred_10’:
libavcodec/hevcpred_template.c:302:9: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-27 11:54:53 +01:00
..
2013-10-23 14:32:04 +02:00
2011-04-17 23:43:54 +02:00
2013-10-03 23:00:09 +02:00
2013-08-13 15:45:08 +02:00
2013-10-15 22:13:02 +02:00
2013-09-25 16:30:25 +02:00
2013-10-15 17:00:28 +01:00
2011-10-30 21:50:17 +01:00
2012-03-15 22:12:02 +01:00
2012-03-15 22:12:02 +01:00
2013-10-06 20:12:37 +00:00
2013-10-08 12:40:33 +00:00
2013-10-08 12:40:33 +00:00
2013-01-21 10:24:45 +00:00
2012-07-19 18:44:46 +02:00
2013-10-15 23:58:20 +02:00
2013-10-18 16:46:08 +02:00
2013-09-30 14:34:12 +02:00
2013-10-15 22:13:02 +02:00
2013-10-15 22:13:02 +02:00
2013-10-15 22:13:02 +02:00
2013-10-13 21:48:28 +02:00
2013-08-12 19:40:29 +02:00
2012-09-03 23:26:14 +02:00
2013-10-15 22:13:02 +02:00
2012-12-31 00:41:35 +01:00
2013-10-23 10:49:48 +02:00
2013-09-21 16:59:13 +02:00
2013-10-22 19:55:47 +02:00
2013-08-09 23:02:48 +02:00
2013-01-12 14:06:30 +01:00
2012-06-21 01:30:16 +00:00
2013-09-21 16:59:13 +02:00
2013-07-10 12:07:53 +00:00
2013-10-22 19:55:47 +02:00
2013-10-02 21:03:11 -04:00
2012-09-23 15:24:08 +02:00
2010-04-21 18:01:34 +00:00