summaryrefslogtreecommitdiff
path: root/libavcodec/h264_refs.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-11 13:32:47 +0100
committerDiego Biurrun <diego@biurrun.de>2016-01-03 22:49:56 +0100
commit2080bea4a74b6b1598caa806a11ea807ba546f94 (patch)
treeaecba84e17d14bd331d028012930e21d81a9a751 /libavcodec/h264_refs.c
parent58170b027144f4840018c7a60fb8d07924cc6242 (diff)
h264_refs: Remove broken trace debug code
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r--libavcodec/h264_refs.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index 877f6fe7ad..1a5d3fc93f 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -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);