OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c27e8
)
dv: change assert(a2 < 4) to av_assert()
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Oct 2012 18:29:03 +0000
(20:29 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Oct 2012 18:29:03 +0000
(20:29 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dv.c
patch
|
blob
|
history
diff --git
a/libavcodec/dv.c
b/libavcodec/dv.c
index
5b4ad23
..
039f978
100644
(file)
--- a/
libavcodec/dv.c
+++ b/
libavcodec/dv.c
@@
-627,7
+627,7
@@
static inline void dv_guess_qnos(EncBlockInfo* blks, int* qnos)
if (b->next[k] >= mb_area_start[a+1] && b->next[k]<64){
for (a2 = a + 1; b->next[k] >= mb_area_start[a2+1]; a2++)
b->prev[a2] = prev;
- a
ssert
(a2 < 4);
+ a
v_assert2
(a2 < 4);
assert(b->mb[b->next[k]]);
b->bit_size[a2] += dv_rl2vlc_size(b->next[k] - prev - 1, b->mb[b->next[k]])
-dv_rl2vlc_size(b->next[k] - k - 1, b->mb[b->next[k]]);