avconv: remove a write-only variable

This commit is contained in:
Anton Khirnov 2014-02-19 16:16:43 +01:00
parent 8aca00cc2b
commit 67f2a68814
2 changed files with 0 additions and 2 deletions

View File

@ -1480,7 +1480,6 @@ static int init_input_stream(int ist_index, char *error, int error_len)
ist->last_dts = ist->st->avg_frame_rate.num ? - ist->st->codec->has_b_frames * AV_TIME_BASE / av_q2d(ist->st->avg_frame_rate) : 0; ist->last_dts = ist->st->avg_frame_rate.num ? - ist->st->codec->has_b_frames * AV_TIME_BASE / av_q2d(ist->st->avg_frame_rate) : 0;
ist->next_dts = AV_NOPTS_VALUE; ist->next_dts = AV_NOPTS_VALUE;
init_pts_correction(&ist->pts_ctx); init_pts_correction(&ist->pts_ctx);
ist->is_start = 1;
return 0; return 0;
} }

View File

@ -229,7 +229,6 @@ typedef struct InputStream {
int64_t last_dts; int64_t last_dts;
PtsCorrectionContext pts_ctx; PtsCorrectionContext pts_ctx;
double ts_scale; double ts_scale;
int is_start; /* is 1 at the start and after a discontinuity */
int showed_multi_packet_warning; int showed_multi_packet_warning;
AVDictionary *opts; AVDictionary *opts;
AVRational framerate; /* framerate forced with -r */ AVRational framerate; /* framerate forced with -r */