mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffmpeg: remove unused fields AVOutputStream.original_width/height
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
This commit is contained in:
parent
b0b83973d1
commit
58bc9ac5cb
7
ffmpeg.c
7
ffmpeg.c
@ -289,10 +289,6 @@ typedef struct AVOutputStream {
|
|||||||
|
|
||||||
float frame_aspect_ratio;
|
float frame_aspect_ratio;
|
||||||
|
|
||||||
/* full frame size of first frame */
|
|
||||||
int original_height;
|
|
||||||
int original_width;
|
|
||||||
|
|
||||||
/* forced key frames */
|
/* forced key frames */
|
||||||
int64_t *forced_kf_pts;
|
int64_t *forced_kf_pts;
|
||||||
int forced_kf_count;
|
int forced_kf_count;
|
||||||
@ -2310,9 +2306,6 @@ static int transcode(AVFormatContext **output_files,
|
|||||||
fprintf(stderr, "Cannot get resampling context\n");
|
fprintf(stderr, "Cannot get resampling context\n");
|
||||||
ffmpeg_exit(1);
|
ffmpeg_exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
ost->original_height = icodec->height;
|
|
||||||
ost->original_width = icodec->width;
|
|
||||||
#endif
|
#endif
|
||||||
codec->bits_per_raw_sample= frame_bits_per_raw_sample;
|
codec->bits_per_raw_sample= frame_bits_per_raw_sample;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user