[SCM] libav/wheezy-security: h264_refs: Fix debug tprintf argument types

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Oct 19 20:18:09 UTC 2014


The following commit has been merged in the wheezy-security branch:
commit 233d1b4861e252cbc4571840e7f264e1db151c13
Author: Diego Biurrun <diego at biurrun.de>
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 <diego at biurrun.de>

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/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list