X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fdv1394.c;h=779117aee3a8a3b4cb79001c796f18cf5e2aa409;hb=4a3294ef0069c898a495c783dfdb2f0bf1dc6583;hp=63eff2aec8b530bc404d12e827c679c5fa635dc2;hpb=3074f03a074de3aab79639d261cbd0ccc265b5b4;p=ffmpeg diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c index 63eff2aec8b..779117aee3a 100644 --- a/libavdevice/dv1394.c +++ b/libavdevice/dv1394.c @@ -90,18 +90,6 @@ static int dv1394_read_header(AVFormatContext * context, AVFormatParameters * ap if (!dv->dv_demux) goto failed; -#if FF_API_FORMAT_PARAMETERS - if (ap->standard) { - if (!strcasecmp(ap->standard, "pal")) - dv->format = DV1394_PAL; - else - dv->format = DV1394_NTSC; - } - - if (ap->channel) - dv->channel = ap->channel; -#endif - /* Open and initialize DV1394 device */ dv->fd = open(context->filename, O_RDONLY); if (dv->fd < 0) {