Commit 61e6226a authored by Paul B Mahol's avatar Paul B Mahol

avcodec/dpx: add support for special encoding

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