[FFmpeg-cvslog] ffmpeg: remove unused variable

Michael Niedermayer git at videolan.org
Tue Mar 12 20:08:09 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 12 18:58:10 2013 +0100| [b1a9a2c4ffb87004ef5947d64bbfb34544793278] | committer: Michael Niedermayer

ffmpeg: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 ffmpeg.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 769e9a1..17a7eab 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1746,10 +1746,6 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
 
     frame_sample_aspect= av_opt_ptr(avcodec_get_frame_class(), decoded_frame, "sample_aspect_ratio");
     for (i = 0; i < ist->nb_filters; i++) {
-        int changed =      ist->st->codec->width   != ist->filters[i]->filter->outputs[0]->w
-                        || ist->st->codec->height  != ist->filters[i]->filter->outputs[0]->h
-                        || ist->st->codec->pix_fmt != ist->filters[i]->filter->outputs[0]->format;
-
         if (!frame_sample_aspect->num)
             *frame_sample_aspect = ist->st->sample_aspect_ratio;
 



More information about the ffmpeg-cvslog mailing list