[FFmpeg-devel] [PATCH]Correctly read RLE encoding from dpx files
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Feb 7 16:47:16 CET 2015
Hi!
Attached patch intends to fix reading the RLE-attribute from dpx files.
Please review, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
index 3b78486..8584a03 100644
--- a/libavcodec/dpx.c
+++ b/libavcodec/dpx.c
@@ -136,6 +136,7 @@ static int decode_frame(AVCodecContext *avctx,
bits_per_color = buf[0];
buf++;
packing = read16(&buf, endian);
+ buf++;
encoding = read16(&buf, endian);
if (packing > 1) {
More information about the ffmpeg-devel
mailing list