From e4cbf7529ba4bcfff47c44b0d026ecb356004c8c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 27 Sep 2012 10:19:53 +0200 Subject: Give all anonymously typedeffed structs in headers a name Anonymous structs cannot be forward declared and have no benefit. --- libavdevice/alsa-audio.h | 2 +- libavdevice/sndio_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libavdevice') 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; -- cgit v1.2.3