mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
fftools/ffmpeg_mux_init: drop an obsolete assignment
This line was added in c30a4489b4
along with
AVStream.sample_aspect_ratio. However, configuring SAR for video
encoding is now done after this code (specifically in enc_open(), which
is called when the first video frame to be encoded is obtained), so this
line cannot have any meaningful effect.
This commit is contained in:
parent
c328bff4da
commit
20c42213ea
@ -562,7 +562,6 @@ static int new_stream_video(Muxer *mux, const OptionsContext *o,
|
||||
av_log(ost, AV_LOG_FATAL, "Unknown pixel format requested: %s.\n", frame_pix_fmt);
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
st->sample_aspect_ratio = video_enc->sample_aspect_ratio;
|
||||
|
||||
MATCH_PER_STREAM_OPT(intra_matrices, str, intra_matrix, oc, st);
|
||||
if (intra_matrix) {
|
||||
|
Loading…
Reference in New Issue
Block a user