changeset 3533:e2cd40f4851b libavformat

include track id in error message
author bcoudurier
date Sat, 28 Jun 2008 20:32:37 +0000
parents a741556d452c
children e04ae2357e66
files mxf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Sat Jun 28 09:01:16 2008 +0000
+++ b/mxf.c	Sat Jun 28 20:32:37 2008 +0000
@@ -349,7 +349,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\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)