[FFmpeg-devel] [PATCH] One "const" is enough

Carl Eugen Hoyos cehoyos
Thu May 8 11:16:41 CEST 2008


Hi!

Attached patch removes one of two "const" in the same declaration from 
h264.c (fixes icc warning).

Carl Eugen
-------------- next part --------------
Index: libavcodec/h264.c
===================================================================
--- libavcodec/h264.c	(revision 13076)
+++ libavcodec/h264.c	(working copy)
@@ -5364,7 +5364,7 @@
     return ctx + 4 * cat;
 }
 
-DECLARE_ASM_CONST(1, const uint8_t, last_coeff_flag_offset_8x8[63]) = {
+DECLARE_ASM_CONST(1, uint8_t, last_coeff_flag_offset_8x8[63]) = {
     0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
     2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
     3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,



More information about the ffmpeg-devel mailing list