• Timothy B. Terriberry's avatar
    Fix 0-byte Ogg packet handling. · 9c7198ea
    Timothy B. Terriberry authored
    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: default avatarRafaël Carré <funman@videolan.org>
    9c7198ea
theora.c 29.8 KB