[FFmpeg-cvslog] ffmpeg: remove two unused variables.

Clément Bœsch git at videolan.org
Mon Jun 4 22:36:14 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Jun  4 22:32:26 2012 +0200| [df03ae8dd80b28e0461611709e290bc61db3cdca] | committer: Clément Bœsch

ffmpeg: remove two unused variables.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df03ae8dd80b28e0461611709e290bc61db3cdca
---

 ffmpeg.c |    3 +--
 1 file changed, 1 insertion(+), 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,



More information about the ffmpeg-cvslog mailing list