ff_alloc_packet: modify the size of the packet to match the requested size
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 1 Feb 2012 21:23:19 +0000 (16:23 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 1 Feb 2012 21:33:27 +0000 (16:33 -0500)
commit1a670973a756e6e1a7a170d58f3589fd5ad4c088
tree493eae88bfb2f2c4e72eea37345d4f79bb2171b1
parent5ff88020ac4cd285fa00d0c559aa196bbd8526d7
ff_alloc_packet: modify the size of the packet to match the requested size

This will simplify encoders which use this function to request the exact
packet size rather than the maximum size.
libavcodec/internal.h
libavcodec/utils.c