[mythtv] Denoise3d filter
Behan Webster
behanw at websterwood.com
Thu Oct 30 21:55:58 EST 2003
I was just going through the denoise3d filter, and noticed a couple of
things that didn't seem quite right (they look like cut'n'paste errors
to me).
I suspect that the following patch, although small may save someone some
debugging time in the future.
--- filters/denoise3d/filter_denoise3d.c.orig 2003-10-30
21:46:16.000000000 -0500
+++ filters/denoise3d/filter_denoise3d.c 2003-10-30
21:52:27.000000000 -0500
@@ -194,7 +194,7 @@
return 1;
if (frame->codec != FMT_YV12)
return 1;
- if (frame->height != filter->height || frame->width != frame->width
+ if (frame->height != filter->height || frame->width != filter->width
|| !filter->line || !filter->prev)
{
if (filter->line)
@@ -630,7 +630,7 @@
filter->line = NULL;
filter->prev = NULL;
filter->width = -1;
- filter->width = -1;
+ filter->height = -1;
filter->cleanup = &cleanup;
filter->name = (char *) FILTER_NAME;
Behan Webster
More information about the mythtv-dev
mailing list