summaryrefslogtreecommitdiff
path: root/libavdevice/dv1394.c
diff options
context:
space:
mode:
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);