summaryrefslogtreecommitdiff
path: root/libavdevice/bktr.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-17 08:51:27 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-18 07:43:36 -0700
commitc0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46 (patch)
treebba76718745f948551daf7852e9f502aaa7049c0 /libavdevice/bktr.c
parent24af1aa0f70362a66cda04c9d7cd012e019f5572 (diff)
downloadffmpeg-c0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46.tar.gz
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/bktr.c')
-rw-r--r--libavdevice/bktr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 06f4d860c2..695e13f088 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -51,7 +51,7 @@
#include <signal.h>
#include <stdint.h>
-typedef struct {
+typedef struct VideoData {
AVClass *class;
int video_fd;
int tuner_fd;