Mercurial > libavformat.hg
changeset 1963:81268e2bd9aa libavformat
unset sample count to disable track when is broken
author | bcoudurier |
---|---|
date | Thu, 29 Mar 2007 10:42:22 +0000 |
parents | f28d346de931 |
children | 4571a481081d |
files | mov.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Thu Mar 29 10:37:07 2007 +0000 +++ b/mov.c Thu Mar 29 10:42:22 2007 +0000 @@ -1509,6 +1509,7 @@ if(!sc->stts_count || !sc->chunk_count || !sc->sample_to_chunk_sz || (!sc->sample_size && !sc->sample_count)){ av_log(s, AV_LOG_ERROR, "missing mandatory atoms, broken header\n"); + sc->sample_count = 0; //ignore track continue; } if(!sc->time_rate)