mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-03 00:36:44 +00:00
ffmpeg: remove pointless avcodec_get_frame_defaults().
filtered_frame is overwritten just below anyway.
This commit is contained in:
parent
73413e6bca
commit
c214e98634
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);
|
||||
goto end;
|
||||
}
|
||||
avcodec_get_frame_defaults(ist->filtered_frame);
|
||||
filtered_frame = ist->filtered_frame;
|
||||
*filtered_frame= *decoded_frame; //for me_threshold
|
||||
if (ost->picref) {
|
||||
|
Loading…
Reference in New Issue
Block a user