[FFmpeg-cvslog] ffmpeg: remove unused fields AVOutputStream.original_width/height

Stefano Sabatini git at videolan.org
Wed May 11 06:06:36 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sat Apr 16 23:14:44 2011 +0200| [bc97695af84304e5e95658ca26e00c6e7074eca4] | committer: Anton Khirnov

ffmpeg: remove unused fields AVOutputStream.original_width/height

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Signed-off-by: Anton Khirnov <anton at khirnov.net>

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

 ffmpeg.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index dd0ab92..7ea4a94 100644
--- 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;
                 }



More information about the ffmpeg-cvslog mailing list