aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-04 11:36:51 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-04 14:18:49 +0200
commita982e5a031c9c92726593851cee7a3792e3cbed7 (patch)
treecba8f6527f0a4845233c2cc2487aea9858416d81 /libavformat/avidec.c
parentbb7431f4fc44553fc0a52a69b57d220d174177d4 (diff)
downloadffmpeg-a982e5a031c9c92726593851cee7a3792e3cbed7.tar.gz
avidec: make scale and rate unsigned.
The specs say they are unsigned 32bit integers.
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c4
1 files 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) */