From 90ffc4902efdb842defa764307fc2cc4eaecb1b7 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sat, 28 Jun 2008 20:32:37 +0000 Subject: [PATCH] include track id in error message Originally committed as revision 14025 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxf.c b/libavformat/mxf.c index 921b49570a..5f9aeba43c 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -349,7 +349,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\n"); + av_log(s, AV_LOG_ERROR, "error getting stream index %x\n", AV_RB32(klv.key+12)); goto skip; } if (s->streams[index]->discard == AVDISCARD_ALL)