oggdemux: fix clipping more samples than exist in the first packet
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 5 May 2017 11:48:41 +0000 (12:48 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 26 May 2017 13:41:47 +0000 (14:41 +0100)
commit523e98396fa05282ca8e9d98a48426edf72c0023
tree1f48a23ac30a5923bcc620c41badbf6b440fc2d5
parent4fdb5ab675452fd5dfc0cb39f283356dd00c8c4a
oggdemux: fix clipping more samples than exist in the first packet

This can happen in Opus (and maybe other codecs ?), and would cause
failure to play.

https://bugzilla.gnome.org/show_bug.cgi?id=782157
ext/ogg/gstoggdemux.c
ext/ogg/gstoggstream.c