From a982e5a031c9c92726593851cee7a3792e3cbed7 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 4 Jun 2012 11:36:51 +0200 Subject: [PATCH] avidec: make scale and rate unsigned. The specs say they are unsigned 32bit integers. --- libavformat/avidec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index abfea2c7ee..38f84f9f94 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -39,8 +39,8 @@ typedef struct AVIStream { int remaining; int packet_size; - int scale; - int rate; + uint32_t scale; + uint32_t rate; int sample_size; /* size of one sample (or packet) (in the rate/scale sense) in bytes */ int64_t cum_len; /* temporary storage (used during seek) */