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
646646 if (frame) {
647647 FrameData *fd = frame_data(frame);
648648
649− fd = frame_data(frame);
650649 if (!fd)
651650 return AVERROR(ENOMEM);
652651

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