Mercurial > libavcodec.hg
diff cscd.c @ 12411:7c9d711a4201 libavcodec
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.
author | mru |
---|---|
date | Tue, 24 Aug 2010 15:40:57 +0000 |
parents | 8a4984c5cacc |
children | ca1896830b44 |