summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-06-04 22:32:26 +0200
committerClément Bœsch <ubitux@gmail.com>2012-06-04 22:32:26 +0200
commitdf03ae8dd80b28e0461611709e290bc61db3cdca (patch)
tree6747a94c31fedc360e364354abdd97dc7a489d22 /ffmpeg.c
parent5e8225004fca64523ca8d486d34e0e0a5ec1e14f (diff)
downloadffmpeg-streaming-df03ae8dd80b28e0461611709e290bc61db3cdca.zip
ffmpeg-streaming-df03ae8dd80b28e0461611709e290bc61db3cdca.tar.gz
ffmpeg: remove two unused variables.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index ab5524c..4d36bc4 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1819,7 +1819,7 @@ static void do_video_out(AVFormatContext *s,
int ret, format_video_sync;
AVPacket pkt;
AVCodecContext *enc = ost->st->codec;
- int nb_frames, i;
+ int nb_frames;
double sync_ipts, delta;
double duration = 0;
int frame_size = 0;
@@ -2037,7 +2037,6 @@ static int poll_filters(void)
filtered_frame = ost->filtered_frame;
while (1) {
- AVRational ist_pts_tb = ost->filter->filter->inputs[0]->time_base;
if (ost->enc->type == AVMEDIA_TYPE_AUDIO &&
!(ost->enc->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE))
ret = av_buffersink_read_samples(ost->filter->filter, &picref,
OpenPOWER on IntegriCloud