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:
6a0b72f
)
avcodec/utils: use av_assert0() to check validity of input pointers for start code...
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 23 Jul 2013 19:23:09 +0000
(21:23 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 23 Jul 2013 19:23:09 +0000
(21:23 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
64bae3e
..
ea83fe8
100644
(file)
--- a/
libavcodec/utils.c
+++ b/
libavcodec/utils.c
@@
-3225,7
+3225,7
@@
const uint8_t *avpriv_find_start_code(const uint8_t *av_restrict p,
{
int i;
- a
ssert
(p <= end);
+ a
v_assert0
(p <= end);
if (p >= end)
return end;