diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-24 18:39:23 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-24 18:39:23 +0000 |
commit | 802e91466df69929b3b29268c902716ba74ddfe0 (patch) | |
tree | 71195862a72724d567a0012eb98d66e07c7c0c7b /libavcodec/h264.c | |
parent | 53d55e9ea3cb59d855c6de14d45419d8be72402f (diff) | |
download | ffmpeg-802e91466df69929b3b29268c902716ba74ddfe0.tar.gz |
export refs
Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index fc689988ab..8a7550f2a6 100644 --- 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, |