Browse Source

lavc/h264_refs: Fix compilation with -DTRACE.

tags/n2.7
Carl Eugen Hoyos 10 years ago
parent
commit
b3673f3414
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavcodec/h264_refs.c

+ 4
- 4
libavcodec/h264_refs.c View File

@@ -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


Loading…
Cancel
Save