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
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