aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-09 02:56:13 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-09 02:56:13 +0000
commit66ec3d56a2b1df959d53d65c5bb80bc76740580d (patch)
tree9f761bfab69c34b6bc8d5883020cb8e1bf0228c4 /libavformat
parent03ea32f8504dac6193a56a6430445ab67e43ef0a (diff)
downloadffmpeg-66ec3d56a2b1df959d53d65c5bb80bc76740580d.tar.gz
print stream index in decimal not in hex, easier for debugging
Originally committed as revision 15279 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mxfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 913848fa8f..ea90d522ea 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)