[FFmpeg-cvslog] r12605 - trunk/libavformat/mov.c
bcoudurier
subversion
Thu Mar 27 14:19:20 CET 2008
Author: bcoudurier
Date: Thu Mar 27 14:19:19 2008
New Revision: 12605
Log:
print stream index in error message
Modified:
trunk/libavformat/mov.c
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Thu Mar 27 14:19:19 2008
@@ -1237,7 +1237,8 @@ static int mov_read_trak(MOVContext *c,
/* 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;
}
More information about the ffmpeg-cvslog
mailing list