avformat/mpegts: fix resync seek
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Nov 2013 15:38:12 +0000 (16:38 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Nov 2013 15:38:12 +0000 (16:38 +0100)
commit7d0e927a31edb5fb584c2ab17f7fd676838d6639
treecfac3ae4cc879b3125d5d4e247d1f3844ec5b3c4
parentcbefb3d9098bd8c7bcac890e4e99de602f09c5bc
avformat/mpegts: fix resync seek

The seek ended up seeking before the begin, which caused problems
Fixes initial sync issues with libbluray
Fixes Ticket3117

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c