You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
ffmpeg: remove pointless avcodec_get_frame_defaults().
filtered_frame is overwritten just below anyway.
This commit is contained in:
1
ffmpeg.c
1
ffmpeg.c
@ -2139,7 +2139,6 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
|
|||||||
ret = AVERROR(ENOMEM);
|
ret = AVERROR(ENOMEM);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
avcodec_get_frame_defaults(ist->filtered_frame);
|
|
||||||
filtered_frame = ist->filtered_frame;
|
filtered_frame = ist->filtered_frame;
|
||||||
*filtered_frame= *decoded_frame; //for me_threshold
|
*filtered_frame= *decoded_frame; //for me_threshold
|
||||||
if (ost->picref) {
|
if (ost->picref) {
|
||||||
|
Reference in New Issue
Block a user