[FFmpeg-cvslog] matroskadec: switch to av_assert
Michael Niedermayer
git at videolan.org
Fri Mar 22 18:12:16 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 22 18:04:17 2013 +0100| [ac75e0c755245ad739c812a2c7aa43584d488da4] | committer: Michael Niedermayer
matroskadec: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ac75e0c755245ad739c812a2c7aa43584d488da4
---
libavformat/matroskadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index eea29da..740459c 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list