diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-22 17:07:00 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-22 22:11:04 +0100 |
commit | c77164390b6432626d970d197c2da44f408071bc (patch) | |
tree | 6604883818b63352ba43eeec95717bf43a159c03 | |
parent | 6ecc2f0f6f5011946b5dd9724eaeaf56b224b478 (diff) |
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>
-rw-r--r-- | fftools/ffmpeg_enc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fftools/ffmpeg_enc.c b/fftools/ffmpeg_enc.c index f01be1c22f..5f7fcf8a5f 100644 --- a/fftools/ffmpeg_enc.c +++ b/fftools/ffmpeg_enc.c @@ -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); |