From: Andre Noll Date: Sat, 22 Dec 2018 17:04:28 +0000 (+0100) Subject: ogg: Detect missing ogg pages. X-Git-Tag: v0.6.3~28^2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=16f2ff3d3a6951588cd7a4ba1b33832a07b8652b;hp=16f2ff3d3a6951588cd7a4ba1b33832a07b8652b ogg: Detect missing ogg pages. If pages of an ogg file were cut out, for example with a command like para_afh -r 'afh -b 100 -f foo.ogg' the ogg audio format handler still reports the duration of the full file. This commit makes it detect this case and adjust the duration accordingly. This affects all audio formats which employ the ogg container format. ---