[FFmpeg-devel] [PATCH]Correctly read RLE encoding from dpx files
christophe.gisquet at gmail.com
Sat Feb 7 17:10:55 CET 2015
2015-02-07 16:47 GMT+01:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Attached patch intends to fix reading the RLE-attribute from dpx files.
I don't think this is valid. You are skipping a byte, as if there was
an additional element to skip. But there is none.
The bitstream is really:
bits per component [1 byte]
packing [2 bytes]
encoding [2 bytes]
So if the first byte makes sense (number of bits) and would be valid,
but packing value is weird, then this might be incorrect endianness.
But then you would have a lot of other stuff incorrect, if you read
with the incorrect endiannes.
So this situation does not make sense. Is there a sample exhibiting this issue?
More information about the ffmpeg-devel