diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-12-21 12:11:38 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-12-21 12:11:38 +0100 |
commit | 26f4ee37f7ce0c04668a3ff38eff31f65e0618be (patch) | |
tree | d1e5e4f4b792b5a282260be8232e37e7d47d3d10 /libavfilter | |
parent | 5e5bbd21e6623074370dbeefd595307fa3dfb648 (diff) | |
download | ffmpeg-26f4ee37f7ce0c04668a3ff38eff31f65e0618be.tar.gz |
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.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_readeia608.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |