Commit b647c627 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

vorbisparse: pedantically recognize undefined headers too

parent 809546c3
......@@ -401,13 +401,8 @@ vorbis_parse_parse_packet (GstVorbisParse * parse, GstBuffer * buf)
have_header = FALSE;
if (size >= 1) {
switch (data[0]) {
case 1:
case 3:
case 5:
have_header = TRUE;
break;
}
if (data[0] & 1)
have_header = TRUE;
}
if (have_header) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment