[FFmpeg-cvslog] avfilter/vf_readeia608: if parity bit check fails, set correct value
Paul B Mahol
git at videolan.org
Sat Dec 21 13:20:02 EET 2019
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Dec 21 12:11:38 2019 +0100| [26f4ee37f7ce0c04668a3ff38eff31f65e0618be] | committer: Paul B Mahol
avfilter/vf_readeia608: if parity bit check fails, set correct value
As described in U.S. Federal Register, Volume 56, Number 114, June 13, 1991, pages 27204-27205.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=26f4ee37f7ce0c04668a3ff38eff31f65e0618be
---
libavfilter/vf_readeia608.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_readeia608.c b/libavfilter/vf_readeia608.c
index 0ddc7bfd50..ff096189a9 100644
--- a/libavfilter/vf_readeia608.c
+++ b/libavfilter/vf_readeia608.c
@@ -365,7 +365,7 @@ static void extract_line(AVFilterContext *ctx, AVFilterLink *inlink, AVFrame *in
if (s->chp) {
if (!(parity & 1)) {
- byte[ch] = 0;
+ byte[ch] = 0x7F;
}
}
}
More information about the ffmpeg-cvslog
mailing list