OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc07a79
)
vsrc_testsrc: Fix case without a specified duration
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 21 Sep 2012 01:00:15 +0000
(
03:00
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 21 Sep 2012 01:00:15 +0000
(
03:00
+0200)
Fixes regression since
98f753ec5198d4f74ba9f68cc85badf8a6257547
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vsrc_testsrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/vsrc_testsrc.c
b/libavfilter/vsrc_testsrc.c
index
1fe64fa
..
85d3789
100644
(file)
--- a/
libavfilter/vsrc_testsrc.c
+++ b/
libavfilter/vsrc_testsrc.c
@@
-109,6
+109,7
@@
static av_cold int init(AVFilterContext *ctx, const char *args)
return ret;
}
+ test->duration = -1;
if (test->duration_str &&
(ret = av_parse_time(&test->duration, test->duration_str, 1)) < 0) {
av_log(ctx, AV_LOG_ERROR, "Invalid duration: '%s'\n", test->duration_str);