OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba718e
)
fix incorrect check for abs_diff_pic_num overflow
author
Jeff Downs
<heydowns@borg.com>
Tue, 9 Oct 2007 17:45:34 +0000
(17:45 +0000)
committer
Andreas Öman
<andreas@lonelycoder.com>
Tue, 9 Oct 2007 17:45:34 +0000
(17:45 +0000)
patch by Jeff Downs, heydowns a borg d com
Originally committed as revision 10700 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
6dd22bc
..
6b97622
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-3076,7
+3076,7
@@
static int decode_ref_pic_list_reordering(H264Context *h){
const unsigned int abs_diff_pic_num= get_ue_golomb(&s->gb) + 1;
int frame_num;
- if(abs_diff_pic_num >
=
h->max_pic_num){
+ if(abs_diff_pic_num > h->max_pic_num){
av_log(h->s.avctx, AV_LOG_ERROR, "abs_diff_pic_num overflow\n");
return -1;
}