summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-03 13:11:39 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-04 19:47:59 +0200
commit1572484f62c59da6755fbcebf09821ada8c43728 (patch)
tree45d4950157e321a00eae5566a20152dd9578e5fc /libavdevice
parent42abb9a80da16d33ef7f54c3656b4d9524d03435 (diff)
downloadffmpeg-1572484f62c59da6755fbcebf09821ada8c43728.tar.gz
bktr: don't error when AVFormatParameters.time_base isn't set.
There's a private option for it now.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/bktr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 7cae48f5fd..6e19a61103 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -251,11 +251,6 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap)
AVRational fps;
int ret = 0;
- if (ap->time_base.den <= 0) {
- ret = AVERROR(EINVAL);
- goto out;
- }
-
#if FF_API_FORMAT_PARAMETERS
if (ap->standard) {
if (!strcasecmp(ap->standard, "pal"))