Browse Source

avidec: make scale and rate unsigned.

The specs say they are unsigned 32bit integers.
tags/n1.0
Anton Khirnov 13 years ago
parent
commit
a982e5a031
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/avidec.c

+ 2
- 2
libavformat/avidec.c View File

@@ -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) */


Loading…
Cancel
Save