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:
f80b381
)
yadif: Fix assert() failure
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 2 Apr 2011 18:26:39 +0000
(20:26 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Tue, 26 Apr 2011 05:15:10 +0000
(07:15 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavfilter/vf_yadif.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_yadif.c
b/libavfilter/vf_yadif.c
index
7a488d6
..
0396fe4
100644
(file)
--- a/
libavfilter/vf_yadif.c
+++ b/
libavfilter/vf_yadif.c
@@
-274,7
+274,7
@@
static int poll_frame(AVFilterLink *link)
return ret;
val = avfilter_poll_frame(link->src->inputs[0]);
}
- assert(yadif->next);
+ assert(yadif->next
|| !val
);
return val * ((yadif->mode&1)+1);
}