[FFmpeg-devel] [PATCH] ffmpeg: remove unused fields AVOutputStream.original_width/height
Stefano Sabatini
stefano.sabatini-lala at poste.it
Sun Apr 17 01:42:58 CEST 2011
---
ffmpeg.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 5f2d83d..fa82996 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -287,10 +287,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;
@@ -2293,9 +2289,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;
}
--
1.7.2.3
More information about the ffmpeg-devel
mailing list