• Tim-Philipp Müller's avatar
    gst-libs/gst/tag/gstvorbistag.c: Allow id_data_len == 0 (needed for vorbis... · 8c7c9ad6
    Tim-Philipp Müller authored
    gst-libs/gst/tag/gstvorbistag.c: Allow id_data_len == 0 (needed for vorbis comments in Speex files).
    
    Original commit message from CVS:
    * gst-libs/gst/tag/gstvorbistag.c:
    (gst_tag_list_from_vorbiscomment_buffer):
    Allow id_data_len == 0 (needed for vorbis comments in Speex files).
    Also add some checks to make sure we don't memcmp() beyond the end of
    vorbiscomment buffer if the ID to check for is larger than the buffer.
    * tests/check/libs/tag.c: (GST_START_TEST):
    Some more tests for gst_tag_list_from_vorbiscomment_buffer().
    8c7c9ad6
tag.c 19 KB