diff options
author | Mans Rullgard <[email protected]> | 2012-10-26 21:18:33 +0100 |
---|---|---|
committer | Mans Rullgard <[email protected]> | 2012-10-27 17:02:46 +0100 |
commit | c4cccc8d3f6605c5fdd73723a865486c5b7fb117 (patch) | |
tree | 41757f132baf23f590c45faaf85ff8c8d4df8e97 /ffmpeg.c | |
parent | 50be207759aa7a69a27de585f7d870ec41eba036 (diff) |
h264: 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 <[email protected]>
Diffstat (limited to 'ffmpeg.c')
0 files changed, 0 insertions, 0 deletions