projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42abb9a
)
bktr: don't error when AVFormatParameters.time_base isn't set.
author
Anton Khirnov
<anton@khirnov.net>
Fri, 3 Jun 2011 11:11:39 +0000
(13:11 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 4 Jun 2011 17:47:59 +0000
(19:47 +0200)
There's a private option for it now.
libavdevice/bktr.c
patch
|
blob
|
history
diff --git
a/libavdevice/bktr.c
b/libavdevice/bktr.c
index
7cae48f
..
6e19a61
100644
(file)
--- 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"))