avcodec/a64multienc: don't set incorrect packet size
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Feb 2015 00:21:30 +0000 (01:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Feb 2015 00:49:23 +0000 (01:49 +0100)
commitd96142e9af92ded84f2580620c571ab96c4bb657
tree9887223d665ac060c009408a3f14c3c5a5fbd4d5
parent39e4ed7c1d8d840be47f6d604704d47a59a9ae5d
avcodec/a64multienc: don't set incorrect packet size

This fixes invalid reads of the packet buffer in av_dup_packet

Based on patch by Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>

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