forked from FFmpeg/FFmpeg
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:
parent
6ecc2f0f6f
commit
c77164390b
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue