# HG changeset patch # User bcoudurier # Date 1204825482 0 # Node ID 4410d97254698317b3e23237cbab32457060ca62 # Parent 021b8af968cd2ac920bcc4180a78b65e016083a8 do not reset duration_error for all streams, only reset current stream, fix wrong_fps.gxf diff -r 021b8af968cd -r 4410d9725469 utils.c --- a/utils.c Thu Mar 06 13:40:29 2008 +0000 +++ b/utils.c Thu Mar 06 17:44:42 2008 +0000 @@ -1932,7 +1932,7 @@ // if(st->codec->codec_type == CODEC_TYPE_VIDEO) // av_log(NULL, AV_LOG_ERROR, "%f\n", dur); if(duration_count[index] < 2) - memset(duration_error, 0, MAX_STREAMS * sizeof(*duration_error)); + memset(duration_error[index], 0, sizeof(*duration_error)); for(i=1; i