Mercurial > libavcodec.hg
comparison vc1.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 | 9ba7d2a5b20a |
children | 5915f4f0e172 |
comparison
equal
deleted
inserted
replaced
12410:7cf900245fce | 12411:7c9d711a4201 |
---|