intreadwrite.h: fix AV_RL32/AV_RB32 signedness.
authorUoti Urpala <uau@mplayer2.org>
Tue, 14 Jun 2011 21:53:30 +0000 (21:53 +0000)
committerAnton Khirnov <anton@khirnov.net>
Thu, 16 Jun 2011 18:49:19 +0000 (20:49 +0200)
commitc98b928fa7dea6418c24a163e7bcd36b0eb922a3
treea541c864f9bf416995945c44c657a40478628312
parentaa15e68721b15f8020da9d392954b343f195f22c
intreadwrite.h: fix AV_RL32/AV_RB32 signedness.

The output type of the AV_RL32/AV_RB32 macros was signed int. The
resulting overflow broke at least some ASF streams with large
timestamps. Fix by adding a cast to uint32_t.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavutil/intreadwrite.h