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

Stefano Sabatini stefano.sabatini-lala at poste.it
Tue Apr 19 09:56:26 CEST 2011


On date Sunday 2011-04-17 01:42:58 +0200, Stefano Sabatini encoded:
> ---
>  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;
>                  }

Ping? -> I'll apply in a few days if I see no comment...
-- 
FFmpeg = Formidable and Frenzy Mysterious Plastic Exuberant Goblin


More information about the ffmpeg-devel mailing list