aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-10 17:14:55 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-15 12:51:15 +0100
commitc00cd007e842b522dc9fbd219e6d32fe9212465b (patch)
tree42709f94d29cbe913b68eb52fafbc6db933f1773 /libavcodec/dvdec.c
parent53a51e70f27b6af5b051b51de4b1e246cf6003c7 (diff)
downloadffmpeg-c00cd007e842b522dc9fbd219e6d32fe9212465b.tar.gz
configure: Remove av_restrict
All versions of MSVC that support C11 (namely >= v19.27) also support the restrict keyword, therefore av_restrict is no longer necessary since 75697836b1db3e0f0a3b7061be6be28d00c675a0. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dvdec.c')
-rw-r--r--libavcodec/dvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c
index f66a5f1a05..a06e4807e7 100644
--- a/libavcodec/dvdec.c
+++ b/libavcodec/dvdec.c
@@ -346,7 +346,7 @@ static inline void bit_copy(PutBitContext *pb, GetBitContext *gb)
put_bits(pb, bits_left, get_bits(gb, bits_left));
}
-static av_always_inline void put_block_8x4(int16_t *block, uint8_t *av_restrict p, int stride)
+static av_always_inline void put_block_8x4(int16_t *block, uint8_t *restrict p, int stride)
{
int i, j;