ogg: Fix potential infinite discard loop
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 18 Aug 2013 15:40:51 +0000 (17:40 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 19 Aug 2013 03:20:39 +0000 (05:20 +0200)
commit9a27acae9e6b7d0bf74c5b878af9c42495a546f3
tree436e882219037ceb840a114d7c261260867c665d
parent0a14fefd68cc18ce3252edff8a05ee9b3945b694
ogg: Fix potential infinite discard loop

Seeking in certain broken files would cause ogg_read_timestamp
to fail because ogg_packet would go into a state where all packets
of stream 1 would be discarded until the end of the stream.

Bug-Id: 553
CC: libav-stable@libav.org
Signed-off-by: Jan Gerber <j@v2v.cc>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/oggdec.c