diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-05-23 21:40:44 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-25 15:55:47 +0200 |
commit | fc68a8f7030227fc4fa8d83b9051aaf598cd12dd (patch) | |
tree | cb2db6603f6cd1adea0bbc91c150e2d0036dee81 /libavdevice/bktr.c | |
parent | b3da2692115ea17190544883d15efa36219da99e (diff) | |
download | ffmpeg-fc68a8f7030227fc4fa8d83b9051aaf598cd12dd.tar.gz |
lavf: deprecate AVFormatParameters.standard.
Diffstat (limited to 'libavdevice/bktr.c')
-rw-r--r-- | libavdevice/bktr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index af184b98d2..821567199e 100644 --- a/libavdevice/bktr.c +++ b/libavdevice/bktr.c @@ -277,6 +277,7 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) st->codec->time_base.den = frame_rate; st->codec->time_base.num = frame_rate_base; +#if FF_API_FORMAT_PARAMETERS if (ap->standard) { if (!strcasecmp(ap->standard, "pal")) s->standard = PAL; @@ -285,6 +286,7 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) else if (!strcasecmp(ap->standard, "ntsc")) s->standard = NTSC; } +#endif if (bktr_init(s1->filename, width, height, s->standard, &(s->video_fd), &(s->tuner_fd), -1, 0.0) < 0) |