Commit c7716439 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

fftools/ffmpeg_enc: Don't call frame_data twice

Reviewed-by: 's avatarJan Ekström <jeebjp@gmail.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 6ecc2f0f
......@@ -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);
......
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