Skip to content
  • Tim-Philipp Müller's avatar
    ext/vorbis/vorbisdec.c: Skip empty buffers, but not empty header buffers. That... · 087f644c
    Tim-Philipp Müller authored
    ext/vorbis/vorbisdec.c: Skip empty buffers, but not empty header buffers. That way the original vorbisdec unit test s...
    
    Original commit message from CVS:
    * ext/vorbis/vorbisdec.c: (vorbis_dec_decode_buffer):
    Skip empty buffers, but not empty header buffers. That way the original
    vorbisdec unit test still passes (#451145); also, take into account
    that those empty packets might carry a granulepos.
    * tests/check/Makefile.am:
    * tests/check/elements/vorbisdec.c:
    (_create_codebook_header_buffer), (_create_audio_buffer),
    (GST_START_TEST), (vorbisdec_suite):
    Add unit test that sends an empty packet.
    087f644c