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 12:46:51 +0000 (13:46 +0100)
commit91ced1608cf4e2a8f8c6b26884a39a368c8cde79
tree553fd5e29bd6e7f83297645c9baafd1bea5359cd
parentd0da72ebb04a1812433099c8effd8f753a4f7e61
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>
(cherry picked from commit d96142e9af92ded84f2580620c571ab96c4bb657)

Conflicts:

libavcodec/a64multienc.c
libavcodec/a64multienc.c