]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/dv1394.c
lavf: deprecate AVFormatParameters.channel.
[ffmpeg] / libavdevice / dv1394.c
index 0981eff53cdc21ca61520da9557cea114f080771..c9b7a69d6f76758dcb17901df67174e0c1d314fb 100644 (file)
@@ -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);