suppressed frame number modulus hack - added loop_input hack which I find easier to understand

Originally committed as revision 2151 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard
2003-08-24 21:20:44 +00:00
parent b1b77fe967
commit 22b37f5d32
2 changed files with 18 additions and 9 deletions

View File

@ -606,7 +606,6 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic)
st->start_time < start_time)
start_time = st->start_time;
}
fprintf(stderr, "start=%lld\n", start_time);
if (start_time != MAXINT64)
ic->start_time = start_time;
@ -1504,12 +1503,6 @@ int get_frame_filename(char *buf, int buf_size,
nd = nd * 10 + *p++ - '0';
}
c = *p++;
if (c == '*' && nd > 0) {
// The nd field is actually the modulus
number = number % nd;
c = *p++;
nd = 0;
}
} while (isdigit(c));
switch(c) {