projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6624e2
)
fix a crash on dropped frames
author
Loren Merritt
<lorenm@u.washington.edu>
Thu, 27 Oct 2005 21:03:36 +0000
(21:03 +0000)
committer
Loren Merritt
<lorenm@u.washington.edu>
Thu, 27 Oct 2005 21:03:36 +0000
(21:03 +0000)
Originally committed as revision 4667 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
560782d
..
08687dc
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-7672,7
+7672,7
@@
static int decode_frame(AVCodecContext *avctx,
out_of_order = !cross_idr && prev && out->poc < prev->poc;
if(prev && pics <= s->avctx->has_b_frames)
out = prev;
- else if((out_of_order && pics-1 == s->avctx->has_b_frames)
+ else if((out_of_order && pics-1 == s->avctx->has_b_frames
&& pics < 15
)
|| (s->low_delay &&
((!cross_idr && prev && out->poc > prev->poc + 2)
|| cur->pict_type == B_TYPE)))