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>
Sat, 14 Mar 2015 13:27:23 +0000 (14:27 +0100)
commit5c4dc00c3a6d8403a881fc810dc38ae861a1eef4
treefe9bbf8104935570f10da357dd22f2602271a591
parentbaa1738f99187fc2c6ce16e5e79d45d1eb555d63
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