Commit b1d92eba authored by michael's avatar michael

Dead code removial, fixes CID59 RUN2.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13509 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 161ec343
......@@ -2758,10 +2758,7 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
case 0x1: /* xiph lacing */
case 0x2: /* fixed-size lacing */
case 0x3: /* EBML lacing */
if (size == 0) {
res = -1;
break;
}
assert(size>0); // size <=3 is checked before size-=3 above
laces = (*data) + 1;
data += 1;
size -= 1;
......
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