diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-04 13:36:51 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-04 16:18:49 +0400 |
commit | a982e5a031c9c92726593851cee7a3792e3cbed7 (patch) | |
tree | cba8f6527f0a4845233c2cc2487aea9858416d81 /libavformat/avidec.c | |
parent | bb7431f4fc44553fc0a52a69b57d220d174177d4 (diff) |
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.c | 4 |
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) */ |