Mercurial > libavformat.hg
comparison mxfdec.c @ 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 | 1d3d17de20ba |
children | bb5d73587d16 |
comparison
equal
deleted
inserted
replaced
3910:45dfe99dced8 | 3911:308606d12c24 |
---|---|
309 return 0; | 309 return 0; |
310 } | 310 } |
311 if (IS_KLV_KEY(klv.key, mxf_essence_element_key)) { | 311 if (IS_KLV_KEY(klv.key, mxf_essence_element_key)) { |
312 int index = mxf_get_stream_index(s, &klv); | 312 int index = mxf_get_stream_index(s, &klv); |
313 if (index < 0) { | 313 if (index < 0) { |
314 av_log(s, AV_LOG_ERROR, "error getting stream index %x\n", AV_RB32(klv.key+12)); | 314 av_log(s, AV_LOG_ERROR, "error getting stream index %d\n", AV_RB32(klv.key+12)); |
315 goto skip; | 315 goto skip; |
316 } | 316 } |
317 if (s->streams[index]->discard == AVDISCARD_ALL) | 317 if (s->streams[index]->discard == AVDISCARD_ALL) |
318 goto skip; | 318 goto skip; |
319 /* check for 8 channels AES3 element */ | 319 /* check for 8 channels AES3 element */ |