Commit c214e986 authored by Clément Bœsch's avatar Clément Bœsch

ffmpeg: remove pointless avcodec_get_frame_defaults().

filtered_frame is overwritten just below anyway.
parent 73413e6b
......@@ -2139,7 +2139,6 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
ret = AVERROR(ENOMEM);
goto end;
}
avcodec_get_frame_defaults(ist->filtered_frame);
filtered_frame = ist->filtered_frame;
*filtered_frame= *decoded_frame; //for me_threshold
if (ost->picref) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment