diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-12-06 20:31:51 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-12-07 19:44:57 +0100 |
commit | 61e6226a5a2212d3baf0e8b3fef7013c74037b5f (patch) | |
tree | f213c2d87ee1e44ab8cc3f219ee30e8b50db11a3 /libavcodec/dpx.c | |
parent | 788e116c2f10bbe99c334e94087560cf0ebb5f7a (diff) | |
download | ffmpeg-61e6226a5a2212d3baf0e8b3fef7013c74037b5f.tar.gz |
avcodec/dpx: add support for special encoding
Diffstat (limited to 'libavcodec/dpx.c')
-rw-r--r-- | libavcodec/dpx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index ed17bf3858..cb7a93473f 100644 --- a/libavcodec/dpx.c +++ b/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]; } |