Commit 55918242 authored by ogg.k.ogg.k's avatar ogg.k.ogg.k
Browse files

catch error in decoding header

parent 55433941
......@@ -54,6 +54,9 @@ public class TheoraDec extends Element implements OggPayload
int ret;
byte header;
ret = ti.decodeHeader(tc, op);
if (ret < 0) {
return ret;
}
header = op.packet_base[op.packet];
if (header == -128) {
haveBOS = true;
......
Supports Markdown
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