avcodec/dpx: add support for special encoding

pull/302/head
Paul B Mahol 6 years ago
parent 788e116c2f
commit 61e6226a5a
  1. 3
      libavcodec/dpx.c

@ -422,7 +422,8 @@ static int decode_frame(AVCodecContext *avctx,
read10in32(&buf, &rgbBuffer,
&n_datum, endian, shift);
}
n_datum = 0;
if (memcmp(input_device, "Scanity", 7))
n_datum = 0;
for (i = 0; i < elements; i++)
ptr[i] += p->linesize[i];
}

Loading…
Cancel
Save