diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-27 13:19:19 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-03-27 13:19:19 +0000 |
commit | 6282c5f45b2ea1774d0f9c9d48788f95fc2c8615 (patch) | |
tree | 840d24de15e3ad5e333e0c009e1609f8c44ce062 /libavformat/mov.c | |
parent | 71f3623510e6312472a05998f0179b6f1d413970 (diff) | |
download | ffmpeg-streaming-6282c5f45b2ea1774d0f9c9d48788f95fc2c8615.zip ffmpeg-streaming-6282c5f45b2ea1774d0f9c9d48788f95fc2c8615.tar.gz |
print stream index in error message
Originally committed as revision 12605 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 8c87dff..f3ab3be 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1237,7 +1237,8 @@ static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) /* 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; } |