Module: libav Branch: master Commit: a982e5a031c9c92726593851cee7a3792e3cbed7
Author: Anton Khirnov <[email protected]> Committer: Anton Khirnov <[email protected]> Date: Mon Jun 4 11:36:51 2012 +0200 avidec: make scale and rate unsigned. The specs say they are unsigned 32bit integers. --- libavformat/avidec.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index abfea2c..38f84f9 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) */ _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
