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

Stefano Sabatini git at videolan.org
Tue Apr 19 12:25:29 CEST 2011


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

ffmpeg: remove unused fields AVOutputStream.original_width/height

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>

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

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

diff --git a/ffmpeg.c b/ffmpeg.c
index 9fcd906..32597e4 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -289,10 +289,6 @@ typedef struct AVOutputStream {
 
     float frame_aspect_ratio;
 
-    /* full frame size of first frame */
-    int original_height;
-    int original_width;
-
     /* forced key frames */
     int64_t *forced_kf_pts;
     int forced_kf_count;
@@ -2310,9 +2306,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= frame_bits_per_raw_sample;
                 }



More information about the ffmpeg-cvslog mailing list