fftools/ffmpeg_enc: Don't call frame_data twice

Reviewed-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-22 17:07:00 +01:00
parent 6ecc2f0f6f
commit c77164390b

View File

@ -646,7 +646,6 @@ static int encode_frame(OutputFile *of, OutputStream *ost, AVFrame *frame,
if (frame) {
FrameData *fd = frame_data(frame);
fd = frame_data(frame);
if (!fd)
return AVERROR(ENOMEM);