summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-06-15 00:02:59 +0300
committerUoti Urpala <uau@mplayer2.org>2011-06-15 00:10:47 +0300
commit6d187a73f0a56c79d73831eb90bf9a38e98dba6b (patch)
tree558c9e58fb9bef845edc8a88234270b455dd51a7 /libmpdemux
parent378ada847c8eb3a641392691b1a2317f8fc214e0 (diff)
downloadmpv-6d187a73f0a56c79d73831eb90bf9a38e98dba6b.tar.bz2
mpv-6d187a73f0a56c79d73831eb90bf9a38e98dba6b.tar.xz
ffmpeg_files/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 (AV_RL32 used in demux_asf.c timestamp parsing code). Fix by adding a cast to uint32_t. This code comes from FFmpeg, and the matching code in Libav/FFmpeg is still broken (but not used there in most common configurations).
Diffstat (limited to 'libmpdemux')
0 files changed, 0 insertions, 0 deletions