diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-03-29 12:34:43 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-03-29 12:34:43 +0200 |
commit | b3673f34149106eedc0457e2a2d4a9ef75a884d5 (patch) | |
tree | 8008cc1208c50bcfbf78a59a1df5425019681796 /libavcodec/h264_refs.c | |
parent | d371471c59ba1d5bbd6f1450d9d916cab6967138 (diff) | |
download | ffmpeg-b3673f34149106eedc0457e2a2d4a9ef75a884d5.tar.gz |
lavc/h264_refs: Fix compilation with -DTRACE.
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 6d72d2ae19..27619d994c 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -175,16 +175,16 @@ int ff_h264_fill_default_ref_list(H264Context *h, H264SliceContext *sl) #ifdef TRACE for (i = 0; i < sl->ref_count[0]; i++) { tprintf(h->avctx, "List0: %s fn:%d 0x%p\n", - (h->default_ref_list[0][i].long_ref ? "LT" : "ST"), + (h->default_ref_list[0][i].parent->long_ref ? "LT" : "ST"), h->default_ref_list[0][i].pic_id, - h->default_ref_list[0][i].f.data[0]); + h->default_ref_list[0][i].parent->f.data[0]); } if (sl->slice_type_nos == AV_PICTURE_TYPE_B) { for (i = 0; i < sl->ref_count[1]; i++) { tprintf(h->avctx, "List1: %s fn:%d 0x%p\n", - (h->default_ref_list[1][i].long_ref ? "LT" : "ST"), + (h->default_ref_list[1][i].parent->long_ref ? "LT" : "ST"), h->default_ref_list[1][i].pic_id, - h->default_ref_list[1][i].f.data[0]); + h->default_ref_list[1][i].parent->f.data[0]); } } #endif |