projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53d55e9
)
export refs
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Dec 2008 18:39:23 +0000
(18:39 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Dec 2008 18:39:23 +0000
(18:39 +0000)
Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
fc68998
..
8a7550f
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-4041,6
+4041,8
@@
static int decode_slice_header(H264Context *h, H264Context *h0){
h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE) ? 0 : 16;
h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width;
+ s->avctx->refs= h->sps.ref_frame_count;
+
if(s->avctx->debug&FF_DEBUG_PICT_INFO){
av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c%s%s pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s %s\n",
h->slice_num,