summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-11-27 21:30:03 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-11-27 21:30:03 +0000
commitcdd7157bc3b15945532f87d59b537d49efb04d5f (patch)
tree6f8a574fdd126b23f49937da7ad698f2e0d54096 /ffmpeg.c
parentcb103a194beb766d230b715671f2bee40af1cacc (diff)
Remove AVInputStream frame variable definition and usage, unnecessary
after the last commit. Originally committed as revision 15945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 75940824e6..c51defd681 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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 *ist, int ist_index,
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 **output_files,
if (ist->st->codec->rate_emu) {
ist->start = av_gettime();
- ist->frame = 0;
}
}
}