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:
0499012
)
avcodec/utils: Assert that the number of consumed bytes in avcodec_decode_audio4...
author
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 23 Apr 2016 15:23:59 +0000
(17:23 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 23 Apr 2016 15:23:59 +0000
(17:23 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
946ecb9
..
21ad3cf
100644
(file)
--- a/
libavcodec/utils.c
+++ b/
libavcodec/utils.c
@@
-2422,6
+2422,8
@@
fail:
av_frame_unref(frame);
}
+ av_assert0(ret <= avpkt->size);
+
return ret;
}