Module: libav
Branch: release/0.8
Commit: 233d1b4861e252cbc4571840e7f264e1db151c13

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Tue Sep 25 19:05:26 2012 +0200

h264_refs: Fix debug tprintf argument types

(cherry picked from commit 6c5b0517e00fc22753c5cc0751cba186dd71ed36)
Signed-off-by: Diego Biurrun <[email protected]>

---

 libavcodec/h264_refs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index dd4bd62..c599d61 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -154,11 +154,11 @@ int ff_h264_fill_default_ref_list(H264Context *h){
     }
 #ifdef TRACE
     for (i=0; i<h->ref_count[0]; i++) {
-        tprintf(h->s.avctx, "List0: %s fn:%d 0x%p\n", 
(h->default_ref_list[0][i].long_ref ? "LT" : "ST"), 
h->default_ref_list[0][i].pic_id, h->default_ref_list[0][i].data[0]);
+        tprintf(h->s.avctx, "List0: %s fn:%d 0x%p\n", 
(h->default_ref_list[0][i].long_ref ? "LT" : "ST"), 
h->default_ref_list[0][i].pic_id, h->default_ref_list[0][i].f.data[0]);
     }
     if(h->slice_type_nos==AV_PICTURE_TYPE_B){
         for (i=0; i<h->ref_count[1]; i++) {
-            tprintf(h->s.avctx, "List1: %s fn:%d 0x%p\n", 
(h->default_ref_list[1][i].long_ref ? "LT" : "ST"), 
h->default_ref_list[1][i].pic_id, h->default_ref_list[1][i].data[0]);
+            tprintf(h->s.avctx, "List1: %s fn:%d 0x%p\n", 
(h->default_ref_list[1][i].long_ref ? "LT" : "ST"), 
h->default_ref_list[1][i].pic_id, h->default_ref_list[1][i].f.data[0]);
         }
     }
 #endif

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to