OSDN Git Service

avformat/vobsub: fix invalid sub queue access while seeking.
authorClément Bœsch <u@pkh.me>
Sun, 20 Oct 2013 19:23:43 +0000 (21:23 +0200)
committerClément Bœsch <u@pkh.me>
Sun, 20 Oct 2013 19:23:46 +0000 (21:23 +0200)
commit4189fe11ffcbdcd311eb9a3437586a94492c4cde
treeb20cd31013e11aa139f8facdbd54f7dfff257ef0
parentfed483f188b3cd50d25068d74bda00b4f12f5fc8
avformat/vobsub: fix invalid sub queue access while seeking.

If there is only 1 stream and seek isn't called with a specific stream
index, we pick the first (and only) one.

Regression since dbfe6110.

Fixes CID1108591.
libavformat/mpeg.c