summaryrefslogtreecommitdiff
path: root/libavdevice/dv1394.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-23 22:06:09 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-25 15:55:47 +0200
commitd20576d01b6489e37813302c208df01068418bfb (patch)
treefdedecc44f53c8b9543b7d43898f0ababe275a04 /libavdevice/dv1394.c
parent79405e57dc1a1e2746c87cba677052d742dbb7ee (diff)
lavf: deprecate AVFormatParameters.channel.
Diffstat (limited to 'libavdevice/dv1394.c')
-rw-r--r--libavdevice/dv1394.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c
index 0981eff53c..c9b7a69d6f 100644
--- a/libavdevice/dv1394.c
+++ b/libavdevice/dv1394.c
@@ -100,10 +100,10 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap
else
dv->format = DV1394_NTSC;
}
-#endif
if (ap->channel)
dv->channel = ap->channel;
+#endif
/* Open and initialize DV1394 device */
dv->fd = open(context->filename, O_RDONLY);