[FFmpeg-cvslog] bktr: don't error when AVFormatParameters.time_base isn't set.
Anton Khirnov
git at videolan.org
Sun Jun 5 03:21:58 CEST 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Jun 3 13:11:39 2011 +0200| [1572484f62c59da6755fbcebf09821ada8c43728] | committer: Anton Khirnov
bktr: don't error when AVFormatParameters.time_base isn't set.
There's a private option for it now.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1572484f62c59da6755fbcebf09821ada8c43728
---
libavdevice/bktr.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index 7cae48f..6e19a61 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"))
More information about the ffmpeg-cvslog
mailing list