[FFmpeg-cvslog] r15945 - trunk/ffmpeg.c
stefano
subversion
Thu Nov 27 22:30:03 CET 2008
Author: stefano
Date: Thu Nov 27 22:30:03 2008
New Revision: 15945
Log:
Remove AVInputStream frame variable definition and usage, unnecessary
after the last commit.
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Thu Nov 27 22:30:03 2008
@@ -280,7 +280,6 @@ typedef struct AVInputStream {
int64_t sample_index; /* current sample */
int64_t start; /* time when read started */
- unsigned long frame; /* current frame */
int64_t next_pts; /* synthetic pts for cases where pkt.pts
is not defined */
int64_t pts; /* current pts */
@@ -1310,8 +1309,6 @@ static int output_packet(AVInputStream *
int64_t now = av_gettime() - ist->start;
if (pts > now)
usleep(pts - now);
-
- ist->frame++;
}
/* if output time reached then transcode raw format,
@@ -1572,7 +1569,6 @@ static int av_encode(AVFormatContext **o
if (ist->st->codec->rate_emu) {
ist->start = av_gettime();
- ist->frame = 0;
}
}
}
More information about the ffmpeg-cvslog
mailing list