mpegts: Pad the packet buffer in handle_packet().
authorAlex Converse <alex.converse@gmail.com>
Fri, 2 Mar 2012 18:13:07 +0000 (10:13 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 4 Mar 2012 20:26:28 +0000 (21:26 +0100)
commit3f7e90cf0c12d739c5b9cd548c1916f23d691185
treeee9e2e19ecc4612045ef2197a1f6b5e094ad08a4
parent78d4f8cc56554e5d19c3f5688902278c3b795a04
mpegts: Pad the packet buffer in handle_packet().

This allows it to be used with get_bits without the thread of overreads.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 1aa708988ac131cf7d5c8bd59aca256a7c974df9)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/mpegts.c