[FFmpeg-devel] [PATCH 1/4] dpx: use aligned line starts

Michael Niedermayer michaelni at gmx.at
Thu Aug 14 04:17:42 CEST 2014


On Wed, Aug 13, 2014 at 10:21:51AM +0000, Christophe Gisquet wrote:
> SMPTE 268M-2003 specifies that each line starts at a 4-bytes boundary.
> Therefore, modify correspondingly the input buffer strides and size.
> 
> Partially fixes ticket #3692: DLAD_8b_3c_big.dpx still has inverted
> colors, which might be related to endianness.
> ---
>  libavcodec/dpx.c | 34 +++++++++++++++++++++++-----------
>  1 file changed, 23 insertions(+), 11 deletions(-)

causes
./ffmpeg -icheckerboard_1080p_nuke_bigendian_12bit_alpha.dpx -f null -
to segfault

see http://samples.ffmpeg.org/image-samples/dpx_samples.zip


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140814/2dd062b7/attachment.asc>


More information about the ffmpeg-devel mailing list