git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
041c610
)
avformat/utils: change assert to av_assert0()
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 9 Dec 2014 16:57:35 +0000
(17:57 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 9 Dec 2014 16:57:35 +0000
(17:57 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
1bd21a2
..
5a2a72d
100644
(file)
--- 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));
- a
ssert
(pos_limit <= pos_max);
+ a
v_assert0
(pos_limit <= pos_max);
if (no_change == 0) {
int64_t approximate_keyframe_distance = pos_max - pos_limit;