summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cavlc.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-26 22:44:38 +0100
committerMans Rullgard <mans@mansr.com>2012-10-27 17:02:45 +0100
commit50be207759aa7a69a27de585f7d870ec41eba036 (patch)
tree1b5eed0da018b463f358cb6a101d6799b9fba31e /libavcodec/h264_cavlc.c
parent4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26 (diff)
amrwbdec: fix invalid pointer arithmetic
Subtracting a (positive) value from the address of an array violates C99 section 6.5.6: If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/h264_cavlc.c')
0 files changed, 0 insertions, 0 deletions