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.
pull/331/head
Paul B Mahol 5 years ago
parent 5e5bbd21e6
commit 26f4ee37f7
  1. 2
      libavfilter/vf_readeia608.c

@ -365,7 +365,7 @@ static void extract_line(AVFilterContext *ctx, AVFilterLink *inlink, AVFrame *in
if (s->chp) { if (s->chp) {
if (!(parity & 1)) { if (!(parity & 1)) {
byte[ch] = 0; byte[ch] = 0x7F;
} }
} }
} }

Loading…
Cancel
Save