libavutil/mem: use size_t for the length in av_strdup()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 May 2015 14:06:50 +0000 (16:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Jun 2015 21:25:20 +0000 (23:25 +0200)
commite75393c65943e3c9b5b637be2bb7552db4c78ca0
tree0c9df059bd83476b97f653b080bc9f11d51e7d14
parent17fd68e9d71ca53b78b1d55dcd0d3fe814b355c9
libavutil/mem: use size_t for the length in av_strdup()

the string length is not constrained to INT_MAX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4950bd4ebedbb6289734234bb2a719820f565c41)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/mem.c