Commit 26f4ee37 authored by Paul B Mahol's avatar 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.
parent 5e5bbd21
......@@ -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;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment