Commit a6d41fb1 authored by stefano's avatar stefano

Remove AVInputStream frame variable definition and usage, unnecessary

after the last commit.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15945 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b2122309
...@@ -280,7 +280,6 @@ typedef struct AVInputStream { ...@@ -280,7 +280,6 @@ typedef struct AVInputStream {
int64_t sample_index; /* current sample */ int64_t sample_index; /* current sample */
int64_t start; /* time when read started */ int64_t start; /* time when read started */
unsigned long frame; /* current frame */
int64_t next_pts; /* synthetic pts for cases where pkt.pts int64_t next_pts; /* synthetic pts for cases where pkt.pts
is not defined */ is not defined */
int64_t pts; /* current pts */ int64_t pts; /* current pts */
...@@ -1310,8 +1309,6 @@ static int output_packet(AVInputStream *ist, int ist_index, ...@@ -1310,8 +1309,6 @@ static int output_packet(AVInputStream *ist, int ist_index,
int64_t now = av_gettime() - ist->start; int64_t now = av_gettime() - ist->start;
if (pts > now) if (pts > now)
usleep(pts - now); usleep(pts - now);
ist->frame++;
} }
/* if output time reached then transcode raw format, /* if output time reached then transcode raw format,
...@@ -1572,7 +1569,6 @@ static int av_encode(AVFormatContext **output_files, ...@@ -1572,7 +1569,6 @@ static int av_encode(AVFormatContext **output_files,
if (ist->st->codec->rate_emu) { if (ist->st->codec->rate_emu) {
ist->start = av_gettime(); ist->start = av_gettime();
ist->frame = 0;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment