aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-27 10:19:53 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-06 09:27:11 +0200
commite4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch)
treea1c3a3fb245220594acbf15f7c9ec7344bb03db7 /libavdevice
parent76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff)
downloadffmpeg-e4cbf7529ba4bcfff47c44b0d026ecb356004c8c.tar.gz
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/alsa-audio.h2
-rw-r--r--libavdevice/sndio_common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/alsa-audio.h b/libavdevice/alsa-audio.h
index a0e81d9e3e..26eaee6acf 100644
--- a/libavdevice/alsa-audio.h
+++ b/libavdevice/alsa-audio.h
@@ -42,7 +42,7 @@
#define ALSA_BUFFER_SIZE_MAX 32768
-typedef struct {
+typedef struct AlsaData {
AVClass *class;
snd_pcm_t *h;
int frame_size; ///< preferred size for reads and writes
diff --git a/libavdevice/sndio_common.h b/libavdevice/sndio_common.h
index dc75237b86..2f70213aed 100644
--- a/libavdevice/sndio_common.h
+++ b/libavdevice/sndio_common.h
@@ -28,7 +28,7 @@
#include "libavformat/avformat.h"
#include "libavutil/log.h"
-typedef struct {
+typedef struct SndioData {
AVClass *class;
struct sio_hdl *hdl;
enum AVCodecID codec_id;