diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-16 22:51:04 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-10 07:17:39 +0200 |
commit | f38d900fb8b27870ff8ac176ad07a01e08428b92 (patch) | |
tree | ba9646cb66fd63431917af1a1f657af546ad641e | |
parent | d1991f51f3298e91f9e4cca1f581b486fbd29ec3 (diff) | |
download | ffmpeg-f38d900fb8b27870ff8ac176ad07a01e08428b92.tar.gz |
ffmpeg: remove unused variable padding_src in do_video_out()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1076,7 +1076,7 @@ static void do_video_out(AVFormatContext *s, int *frame_size) { int nb_frames, i, ret; - AVFrame *final_picture, *formatted_picture, *resampling_dst, *padding_src; + AVFrame *final_picture, *formatted_picture, *resampling_dst; AVCodecContext *enc, *dec; double sync_ipts; @@ -1121,7 +1121,6 @@ static void do_video_out(AVFormatContext *s, formatted_picture = in_picture; final_picture = formatted_picture; - padding_src = formatted_picture; resampling_dst = &ost->pict_tmp; if ( ost->resample_height != ist->st->codec->height @@ -1135,7 +1134,6 @@ static void do_video_out(AVFormatContext *s, #if !CONFIG_AVFILTER if (ost->video_resample) { - padding_src = NULL; final_picture = &ost->pict_tmp; if( ost->resample_height != ist->st->codec->height || ost->resample_width != ist->st->codec->width |