From bc97695af84304e5e95658ca26e00c6e7074eca4 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 16 Apr 2011 23:14:44 +0200 Subject: [PATCH] ffmpeg: remove unused fields AVOutputStream.original_width/height Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- ffmpeg.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index dd0ab92623..7ea4a943fa 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; }