Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-23 23:40:44 +0400
committerAnton Khirnov <anton@khirnov.net>2011-05-25 17:55:47 +0400
commitfc68a8f7030227fc4fa8d83b9051aaf598cd12dd (patch)
treecb2db6603f6cd1adea0bbc91c150e2d0036dee81 /libavdevice/dv1394.c
parentb3da2692115ea17190544883d15efa36219da99e (diff)
lavf: deprecate AVFormatParameters.standard.
Diffstat (limited to 'libavdevice/dv1394.c')
-rw-r--r--libavdevice/dv1394.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c
index d0760ef269..2515f78c8f 100644
--- a/libavdevice/dv1394.c
+++ b/libavdevice/dv1394.c
@@ -93,12 +93,14 @@ 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;
}
+#endif
if (ap->channel)
dv->channel = ap->channel;