Hi!

Attached patch intends to fix reading the RLE-attribute from dpx files.

Please review, Carl Eugen
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) {
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to