Anonymous structs can cause trouble in header files, so try to
avoid them altogether as a matter of good style.
... | ... |
@@ -76,7 +76,7 @@ static enum AVPixelFormat get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo *v |
76 | 76 |
return AV_PIX_FMT_NONE; |
77 | 77 |
} |
78 | 78 |
|
79 |
-typedef struct { |
|
79 |
+typedef struct FBDevContext { |
|
80 | 80 |
AVClass *class; ///< class for private options |
81 | 81 |
int frame_size; ///< size in bytes of a grabbed frame |
82 | 82 |
AVRational framerate_q; ///< framerate |