[FFmpeg-cvslog] avcodec/dpx: add support for special encoding
Paul B Mahol
git at videolan.org
Fri Dec 7 20:45:16 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Dec 6 20:31:51 2018 +0100| [61e6226a5a2212d3baf0e8b3fef7013c74037b5f] | committer: Paul B Mahol
avcodec/dpx: add support for special encoding
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=61e6226a5a2212d3baf0e8b3fef7013c74037b5f
---
libavcodec/dpx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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];
}
More information about the ffmpeg-cvslog
mailing list