On 11/21/2014 07:57 AM, Vittorio Giovara wrote:
From: Luca Barbato <[email protected]>
Bug-Id: CID 700699
CC: [email protected]
---
libavcodec/tiffenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index b28f72b..0f9ac80 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -113,7 +113,7 @@ static void tnput(uint8_t **p, int n, const uint8_t *val,
enum TiffTypes type,
* @param ptr_val Pointer to values
*/
static void add_entry(TiffEncoderContext *s, enum TiffTags tag,
- enum TiffTypes type, int count, const void *ptr_val)
+ enum TiffTypes type, uint64_t count, const void *ptr_val)
{
uint8_t *entries_ptr = s->entries + 12 * s->num_entries;
Probably ok, but need to validate that the value is actually within
uint32 because that is what is written to the bitstream.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel