mpegts: Do not call read_sl_header() when no bytes remain in the buffer.
authorAlex Converse <alex.converse@gmail.com>
Fri, 2 Mar 2012 18:12:11 +0000 (10:12 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 4 Mar 2012 20:26:29 +0000 (21:26 +0100)
commitb7c8fff80351249d448b93608bfac832c1ee3b4b
tree0687a7de188e5250779c76d4eb813f6b4f0180d5
parent3f7e90cf0c12d739c5b9cd548c1916f23d691185
mpegts: Do not call read_sl_header() when no bytes remain in the buffer.

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

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