avcodec/util: Make size argument of ff_alloc_packet2() int64_t
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Sep 2013 15:08:03 +0000 (17:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Sep 2013 18:18:54 +0000 (20:18 +0200)
commit9a0e20817aeedbd11fb019e35bae00c2a12cc3e3
tree6e7f57f9a05f002efeaebad1498abd95058767e2
parenta5615b82eb116e9fd0f71f2b03c333cc31ab706a
avcodec/util: Make size argument of ff_alloc_packet2() int64_t

This ensures that huge sizes dont get truncated before the check in ff_alloc_packet2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/internal.h
libavcodec/utils.c