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.
This commit is contained in:
Paul B Mahol 2019-12-21 12:11:38 +01:00
parent 5e5bbd21e6
commit 26f4ee37f7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}
}