Mercurial > mplayer.hg
comparison libao2/ao_v4l2.c @ 32074:9031c664ed05
Move v4l2_fd extern declaration to vo_v4l2.h, where it belongs.
author | diego |
---|---|
date | Sat, 11 Sep 2010 14:37:12 +0000 |
parents | a3890036b137 |
children | dd75bae40633 |
comparison
equal
deleted
inserted
replaced
32073:6e056d82cc2c | 32074:9031c664ed05 |
---|---|
59 | 59 |
60 /* open & setup audio device */ | 60 /* open & setup audio device */ |
61 static int | 61 static int |
62 init (int rate, int channels, int format, int flags) | 62 init (int rate, int channels, int format, int flags) |
63 { | 63 { |
64 extern int v4l2_fd; | |
65 | |
66 if (v4l2_fd < 0) | 64 if (v4l2_fd < 0) |
67 return 0; | 65 return 0; |
68 | 66 |
69 if (format != AF_FORMAT_MPEG2) | 67 if (format != AF_FORMAT_MPEG2) |
70 { | 68 { |