]> git.sesse.net Git - vlc/commit
Fix 0-byte Ogg packet handling.
authorTimothy B. Terriberry <tterribe@xiph.org>
Sun, 2 Sep 2012 22:24:03 +0000 (15:24 -0700)
committerRafaël Carré <funman@videolan.org>
Mon, 3 Sep 2012 21:22:40 +0000 (23:22 +0200)
commit9c7198eaeda34f791fd007287e4089099ed70e22
tree6b89f7bf54883eabd98c593749c88198419682e2
parentaf4805700c96f17972ab6d3292404f9248be2b90
Fix 0-byte Ogg packet handling.

This stops rejecting 0-byte packets, adds checks everywhere we
access the first byte of a packet, updates the th_decode_packetin()
return value checking so that duplicate frames aren't thrown away,
and updates video pts generation so the resulting frames are
displayed correctly,

Fixes bug #3416.

Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/codec/theora.c
modules/demux/ogg.c