Browse Source

bktr: don't error when AVFormatParameters.time_base isn't set.

There's a private option for it now.
tags/n0.8
Anton Khirnov 14 years ago
parent
commit
1572484f62
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      libavdevice/bktr.c

+ 0
- 5
libavdevice/bktr.c View File

@@ -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"))


Loading…
Cancel
Save