Ticket #3490: 1.patch
| File 1.patch, 840 bytes (added by , 12 years ago) |
|---|
-
libavcodec/cabac.c
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index 65579d8..66d4513 100644
a b 32 32 #include "cabac.h" 33 33 #include "cabac_functions.h" 34 34 35 uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 6 3] = {35 uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 64] = { 36 36 9,8,7,7,6,6,6,6,5,5,5,5,5,5,5,5, 37 37 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, 38 38 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, -
libavcodec/cabac.h
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index eb6b521..51c7fd0 100644
a b 31 31 32 32 #include "put_bits.h" 33 33 34 extern uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 6 3];34 extern uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 64]; 35 35 #define H264_NORM_SHIFT_OFFSET 0 36 36 #define H264_LPS_RANGE_OFFSET 512 37 37 #define H264_MLPS_STATE_OFFSET 1024
