[FFmpeg-cvslog] avformat/utils: change assert to av_assert0()

Michael Niedermayer git at videolan.org
Tue Dec 9 18:18:36 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Dec  9 17:57:35 2014 +0100| [20cb3fab3f15773bfed3a011d7384b2efbd2daa9] | committer: Michael Niedermayer

avformat/utils: change assert to av_assert0()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20cb3fab3f15773bfed3a011d7384b2efbd2daa9
---

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 1bd21a2..5a2a72d 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1924,7 +1924,7 @@ int64_t ff_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts,
         av_dlog(s,
                 "pos_min=0x%"PRIx64" pos_max=0x%"PRIx64" dts_min=%s dts_max=%s\n",
                 pos_min, pos_max, av_ts2str(ts_min), av_ts2str(ts_max));
-        assert(pos_limit <= pos_max);
+        av_assert0(pos_limit <= pos_max);
 
         if (no_change == 0) {
             int64_t approximate_keyframe_distance = pos_max - pos_limit;



More information about the ffmpeg-cvslog mailing list