oggdec: use ffio_ensure_seekback() to seek back on incorrect data
authorLynne <dev@lynne.ee>
Tue, 28 Apr 2020 11:55:17 +0000 (12:55 +0100)
committerLynne <dev@lynne.ee>
Thu, 30 Apr 2020 22:05:50 +0000 (23:05 +0100)
commite983197cbc93420b67aa7e811be47d7278c2c8a2
treea9a8fe2e02e3eb94e04d77736e1019b36437dd1d
parent9ad47762c17d2c6d06595aa17b88112baa91b72c
oggdec: use ffio_ensure_seekback() to seek back on incorrect data

This cleans up the code and simplifies it.
It also speeds up parsing since the old pb position was incorrect.
libavformat/oggdec.c