diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-17 08:51:27 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-18 07:43:36 -0700 |
commit | c0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46 (patch) | |
tree | bba76718745f948551daf7852e9f502aaa7049c0 /libavdevice/fbdev.c | |
parent | 24af1aa0f70362a66cda04c9d7cd012e019f5572 (diff) |
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.
Diffstat (limited to 'libavdevice/fbdev.c')
-rw-r--r-- | libavdevice/fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c index 22c53a3c1d..34e09f9914 100644 --- a/libavdevice/fbdev.c +++ b/libavdevice/fbdev.c @@ -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 |