ffmpeg: remove unused fields AVOutputStream.original_width/height
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Apr 2011 21:14:44 +0000 (23:14 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 10 May 2011 05:17:52 +0000 (07:17 +0200)
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
ffmpeg.c

index dd0ab92..7ea4a94 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -282,10 +282,6 @@ typedef struct AVOutputStream {
     int resample_width;
     int resample_pix_fmt;
 
-    /* full frame size of first frame */
-    int original_height;
-    int original_width;
-
     /* forced key frames */
     int64_t *forced_kf_pts;
     int forced_kf_count;
@@ -2188,9 +2184,6 @@ static int transcode(AVFormatContext **output_files,
                         fprintf(stderr, "Cannot get resampling context\n");
                         ffmpeg_exit(1);
                     }
-
-                    ost->original_height = icodec->height;
-                    ost->original_width  = icodec->width;
 #endif
                     codec->bits_per_raw_sample= 0;
                 }