You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fftools/ffmpeg_opt: drop a redundant assignment
The codec type will be set by avcodec_alloc_context3(), there is no reason to set it manually.
This commit is contained in:
@@ -1574,7 +1574,6 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
|
||||
av_log(NULL, AV_LOG_ERROR, "Error allocating the encoding context.\n");
|
||||
exit_program(1);
|
||||
}
|
||||
ost->enc_ctx->codec_type = type;
|
||||
}
|
||||
|
||||
ost->filtered_frame = av_frame_alloc();
|
||||
|
Reference in New Issue
Block a user