[SCM] libav/experimental: print stream index in decimal not in hex, easier for debugging

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:29:50 UTC 2013


The following commit has been merged in the experimental branch:
commit 66ec3d56a2b1df959d53d65c5bb80bc76740580d
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Tue Sep 9 02:56:13 2008 +0000

    print stream index in decimal not in hex, easier for debugging
    
    Originally committed as revision 15279 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 913848f..ea90d52 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -311,7 +311,7 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt)
         if (IS_KLV_KEY(klv.key, mxf_essence_element_key)) {
             int index = mxf_get_stream_index(s, &klv);
             if (index < 0) {
-                av_log(s, AV_LOG_ERROR, "error getting stream index %x\n", AV_RB32(klv.key+12));
+                av_log(s, AV_LOG_ERROR, "error getting stream index %d\n", AV_RB32(klv.key+12));
                 goto skip;
             }
             if (s->streams[index]->discard == AVDISCARD_ALL)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list