summaryrefslogtreecommitdiffstats
path: root/stream/tvi_dshow.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-13 17:20:29 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:07:42 +0200
commit7bc5b0253f659bccb6cd4268832ace7f1796e4be (patch)
tree934e184ab65682b9c8b35570929abb3100c799a5 /stream/tvi_dshow.c
parentba6c59ddc53497565d34205b5fa85999c3a2dc4e (diff)
downloadmpv-7bc5b0253f659bccb6cd4268832ace7f1796e4be.tar.bz2
mpv-7bc5b0253f659bccb6cd4268832ace7f1796e4be.tar.xz
tv.h: Change function pointer types to proper declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31388 b3059339-0415-0410-9bf9-f77b7e298cf2 Note that the code is still questionable after this commit - the shared data structure has pointers to "struct priv", but different files use different incompatible definitions for that struct.
Diffstat (limited to 'stream/tvi_dshow.c')
-rw-r--r--stream/tvi_dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c
index 54b8b43f27..0b60fff255 100644
--- a/stream/tvi_dshow.c
+++ b/stream/tvi_dshow.c
@@ -166,7 +166,7 @@ typedef struct {
void** arStreamCaps; ///< VIDEO_STREAM_CONFIG_CAPS or AUDIO_STREAM_CONFIG_CAPS
} chain_t;
-typedef struct {
+typedef struct priv {
int dev_index; ///< capture device index in device list (defaul: 0, first available device)
int adev_index; ///< audio capture device index in device list (default: -1, not used)
int immediate_mode; ///< immediate mode (no sound capture)