avdevice: Give names to anonymously typedeffed structs
Anonymous structs can cause trouble in header files, so try to avoid them altogether as a matter of good style.
This commit is contained in:
parent
24af1aa0f7
commit
c0de9159a7
4 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ static enum AVPixelFormat get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo *v
|
|||
return AV_PIX_FMT_NONE;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
typedef struct FBDevContext {
|
||||
AVClass *class; ///< class for private options
|
||||
int frame_size; ///< size in bytes of a grabbed frame
|
||||
AVRational framerate_q; ///< framerate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue