diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-24 15:40:57 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-24 15:40:57 +0000 |
commit | b3c1652b8208cd77fdc247a1cca9b07f03d63c10 (patch) | |
tree | 1c18da887244c0a1ed08016a891e3ffaf842670e /libavutil/rational.c | |
parent | e2f402f160cf574cc69431f4a40a60078cf5e911 (diff) | |
download | ffmpeg-b3c1652b8208cd77fdc247a1cca9b07f03d63c10.tar.gz |
msmpeg4v1: fix undefined behaviour in msmpeg4_decode_picture_header()
Because the order of evaluation of subexpressions is undefined, two
get_bits() calls may not be part of the same expression. In this
specific case, using get_bits_long() is simpler.
This fixes msmpeg4v1 decoding with armcc.
Originally committed as revision 24902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/rational.c')
0 files changed, 0 insertions, 0 deletions