diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-02 16:32:09 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-11 23:14:52 +0100 |
commit | f6e1c96730ebbcebbd0341329d51d3d3a36b4fa1 (patch) | |
tree | b78172d8ed925738c07ba7819a55a1a2fc4d1d13 /libavformat/md5enc.c | |
parent | 63c9b30f98ce7d160b3a6dec1b36dc05fbb71941 (diff) | |
download | ffmpeg-f6e1c96730ebbcebbd0341329d51d3d3a36b4fa1.tar.gz |
ffmdec: change type of len to ptrdiff_t
It is used to store the difference between pointers, so ptrdiff_t is the
correct type.
This prevents potential overflows.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/md5enc.c')
0 files changed, 0 insertions, 0 deletions