changeset 3911:308606d12c24 libavformat

print stream index in decimal not in hex, easier for debugging
author bcoudurier
date Tue, 09 Sep 2008 02:56:13 +0000
parents 45dfe99dced8
children 32652a9c2624
files mxfdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxfdec.c	Mon Sep 08 19:37:22 2008 +0000
+++ b/mxfdec.c	Tue Sep 09 02:56:13 2008 +0000
@@ -311,7 +311,7 @@
         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)