History

fftools/ffmpeg_enc: Don't call frame_data twice

Andreas Rheinhardt committed 2 years ago

Commit c7716431 parent 6ecc2f01 file · +0 −1Browse files

Unified · Split

fftools/ffmpeg_enc.c+0−1
@@ -646,7 +646,6 @@ static int encode_frame(OutputFile *of, OutputStream *ost, AVFrame *frame, · 645 unmodified lines
646 if (frame) {646 if (frame) {
647 FrameData *fd = frame_data(frame);647 FrameData *fd = frame_data(frame);
648 648
649 fd = frame_data(frame);
650 if (!fd)649 if (!fd)
651 return AVERROR(ENOMEM);650 return AVERROR(ENOMEM);
652 651

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t