# HG changeset patch # User bcoudurier # Date 1206623959 0 # Node ID a8fe6b542c6b0d1710a6f0fc191838260ad133fe # Parent 5f56b694f9bf2ae97096e4de371f444c7619733d print stream index in error message diff -r 5f56b694f9bf -r a8fe6b542c6b mov.c --- a/mov.c Thu Mar 27 13:16:29 2008 +0000 +++ b/mov.c Thu Mar 27 13:19:19 2008 +0000 @@ -1237,7 +1237,8 @@ /* sanity checks */ if(!sc->stts_count || !sc->chunk_count || !sc->sample_to_chunk_sz || (!sc->sample_size && !sc->sample_count)){ - av_log(c->fc, AV_LOG_ERROR, "missing mandatory atoms, broken header\n"); + av_log(c->fc, AV_LOG_ERROR, "stream %d, missing mandatory atoms, broken header\n", + st->index); sc->sample_count = 0; //ignore track return 0; }