Commit ac75e0c7 authored by Michael Niedermayer's avatar Michael Niedermayer

matroskadec: switch to av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 076c1c95
......@@ -1442,7 +1442,7 @@ static void matroska_parse_cues(MatroskaDemuxContext *matroska) {
for (i = 0; i < seekhead_list->nb_elem; i++)
if (seekhead[i].id == MATROSKA_ID_CUES)
break;
assert(i <= seekhead_list->nb_elem);
av_assert1(i <= seekhead_list->nb_elem);
if (matroska_parse_seekhead_entry(matroska, i) < 0)
matroska->cues_parsing_deferred = -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