h264_refs: Remove broken trace debug code

This commit is contained in:
Diego Biurrun 2015-12-11 13:32:47 +01:00
parent 58170b0271
commit 2080bea4a7
1 changed files with 0 additions and 16 deletions

View File

@ -167,22 +167,6 @@ static void h264_initialise_ref_list(H264Context *h, H264SliceContext *sl)
if (len < sl->ref_count[0])
memset(&sl->ref_list[0][len], 0, sizeof(H264Ref) * (sl->ref_count[0] - len));
}
#ifdef TRACE
for (i = 0; i < sl->ref_count[0]; i++) {
ff_tlog(h->avctx, "List0: %s fn:%d 0x%p\n",
(sl->ref_list[0][i].long_ref ? "LT" : "ST"),
sl->ref_list[0][i].pic_id,
sl->ref_list[0][i].f->data[0]);
}
if (sl->slice_type_nos == AV_PICTURE_TYPE_B) {
for (i = 0; i < sl->ref_count[1]; i++) {
ff_tlog(h->avctx, "List1: %s fn:%d 0x%p\n",
(sl->ref_list[1][i].long_ref ? "LT" : "ST"),
sl->ref_list[1][i].pic_id,
sl->ref_list[1][i].f->data[0]);
}
}
#endif
}
static void print_short_term(H264Context *h);