mpegts: Move scan test to handle_packets
authorZohar Kelrich <lumimies@gmail.com>
Sun, 24 Jul 2011 08:13:50 +0000 (11:13 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 2 Aug 2011 00:52:27 +0000 (02:52 +0200)
commitcdb9884a636987061d549ac23a248aabc4a91140
tree2d70033c2dfad91e5b306b9d95efa73a89b68a16
parentce9e31655e5b8f8db3bb4f13f436fc836062a514
mpegts: Move scan test to handle_packets

This fixes an issue where packets which start being read
while reading the header stick around after a seek.

Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mpegts.c