summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-01 02:31:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-01 02:38:29 +0200
commit0e5758d1013dbf68b4b0ea1ad847d52769d475db (patch)
tree4ca741cf43d05c470dee76ac54e027d2e2487e1f /libavcodec/h264.c
parente12926393b3477e8c324268d3281ae9975f58435 (diff)
downloadffmpeg-streaming-0e5758d1013dbf68b4b0ea1ad847d52769d475db.zip
ffmpeg-streaming-0e5758d1013dbf68b4b0ea1ad847d52769d475db.tar.gz
H264: print nal_ref_idc too for debug
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 080ab3b..beb7ac9 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2952,7 +2952,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
bit_length= !dst_length ? 0 : (8*dst_length - ff_h264_decode_rbsp_trailing(h, ptr + dst_length - 1));
if(s->avctx->debug&FF_DEBUG_STARTCODE){
- av_log(h->s.avctx, AV_LOG_DEBUG, "NAL %d at %d/%d length %d\n", hx->nal_unit_type, buf_index, buf_size, dst_length);
+ av_log(h->s.avctx, AV_LOG_DEBUG, "NAL %d/%d at %d/%d length %d\n", hx->nal_unit_type, hx->nal_ref_idc, buf_index, buf_size, dst_length);
}
if (h->is_avc && (nalsize != consumed) && nalsize){
OpenPOWER on IntegriCloud