History

avfilter/avfilter: Move frame_pool to FilterLinkInternal

Avoids ugly casts when uninitializing. (One could actually avoid allocating this separately if one were willing to expose FFFramePool to those files including link_internal.h.)

Andreas Rheinhardt committed 2 years ago

Commit 32538da1 parent 4a732995 files · +27 −26Browse files

Showing the changes to libavfilter/avfilter_internal.h (1 of 5 files). Show all

Unified · Split

libavfilter/avfilter_internal.h+2−0
@@ -33,6 +33,8 @@ · 32 unmodified lines
3333 typedef struct FilterLinkInternal {
3434 AVFilterLink l;
3535
36+ struct FFFramePool *frame_pool;
37+
3638 /**
3739 * Queue of frames waiting to be filtered.
3840 */

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