projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb7431f
)
avidec: make scale and rate unsigned.
author
Anton Khirnov
<anton@khirnov.net>
Mon, 4 Jun 2012 09:36:51 +0000
(11:36 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 4 Jun 2012 12:18:49 +0000
(14:18 +0200)
The specs say they are unsigned 32bit integers.
libavformat/avidec.c
patch
|
blob
|
history
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index abfea2c7eeaf4369e803ce78d47b83f42abb7b1b..38f84f9f947122539676682aedbfa09a7fbd4e0f 100644
(file)
--- a/
libavformat/avidec.c
+++ b/
libavformat/avidec.c
@@
-39,8
+39,8
@@
typedef struct AVIStream {
int remaining;
int packet_size;
-
in
t scale;
-
in
t 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) */