Browse code

Merge commit 'c0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46'

* commit 'c0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46':
avdevice: Give names to anonymously typedeffed structs

Merged-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/07/19 04:48:31
Showing 4 changed files
... ...
@@ -51,7 +51,7 @@
51 51
 #include <stdint.h>
52 52
 #include "avdevice.h"
53 53
 
54
-typedef struct {
54
+typedef struct VideoData {
55 55
     AVClass *class;
56 56
     int video_fd;
57 57
     int tuner_fd;
... ...
@@ -45,7 +45,7 @@
45 45
 #include "avdevice.h"
46 46
 #include "fbdev_common.h"
47 47
 
48
-typedef struct {
48
+typedef struct FBDevContext {
49 49
     AVClass *class;          ///< class for private options
50 50
     int frame_size;          ///< size in bytes of a grabbed frame
51 51
     AVRational framerate_q;  ///< framerate
... ...
@@ -39,7 +39,7 @@
39 39
  */
40 40
 #define FIFO_PACKETS_NUM 16
41 41
 
42
-typedef struct {
42
+typedef struct JackData {
43 43
     AVClass        *class;
44 44
     jack_client_t * client;
45 45
     int             activated;
... ...
@@ -46,7 +46,7 @@
46 46
 
47 47
 #define AUDIO_BLOCK_SIZE 4096
48 48
 
49
-typedef struct {
49
+typedef struct AudioData {
50 50
     AVClass *class;
51 51
     int fd;
52 52
     int sample_rate;