diff avformat.h @ 30:90fd30dd68b3 libavformat

grab device is in AVFormatParameter (at least better than global variable)
author bellard
date Thu, 23 Jan 2003 10:33:16 +0000
parents 86a085c19c7f
children d20d414473a5
line wrap: on
line diff
--- a/avformat.h	Thu Jan 23 09:55:19 2003 +0000
+++ b/avformat.h	Thu Jan 23 10:33:16 2003 +0000
@@ -61,6 +61,8 @@
     int height;
     enum PixelFormat pix_fmt;
     struct AVImageFormat *image_format;
+    int channel; /* used to select dv channel */
+    const char *device; /* video4linux, audio or DV device */
 } AVFormatParameters;
 
 #define AVFMT_NOFILE        0x0001 /* no file should be opened */
@@ -381,10 +383,6 @@
 
 /* DV1394 */
 int dv1394_init(void);
-extern int dv1394_channel;
-
-extern const char *video_device;
-extern const char *audio_device;
 
 #ifdef HAVE_AV_CONFIG_H
 int strstart(const char *str, const char *val, const char **ptr);