Re: [FFmpeg-devel] [PATCH v15 08/15] lavc/tiff: Force DNG pixel data endianness on an edge case

2019-08-22 Thread Moritz Barsnick
On Tue, Aug 20, 2019 at 16:37:40 +0300, Nick Renieris wrote: > +/* Force endianness as mentioned in 'DNG Specification: Chapter 3: > BitsPerSample' > +NOTE: The spec actually specifies big-endian, not sure why we > need little-endian, > + but such images

[FFmpeg-devel] [PATCH v15 08/15] lavc/tiff: Force DNG pixel data endianness on an edge case

2019-08-20 Thread Nick Renieris
Signed-off-by: Nick Renieris --- libavcodec/tiff.c | 12 1 file changed, 12 insertions(+) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 1ca9a59dbf..d9750891d4 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -1038,6 +1038,18 @@ static int init_image(TiffContext