Fix undefined expressions that use multiple calls to get_bits().
authorAlex Converse <alex.converse@gmail.com>
Tue, 24 Aug 2010 16:10:25 +0000 (16:10 +0000)
committerAlex Converse <alex.converse@gmail.com>
Tue, 24 Aug 2010 16:10:25 +0000 (16:10 +0000)
commit4c399dc82b4e74f7b9d09c51ab3314dd68a1fdab
tree5cde500eacc59aba3b62d8544b2c7c63c6e352b3
parent37b9706123ff76455d4feb126897b9b5fb7cff69
Fix undefined expressions that use multiple calls to get_bits().

Because the order of evaluation of subexpressions is undefined, two
get_bits() calls may not be part of the same expression.

See also r24902.

Originally committed as revision 24906 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpegdec.c
libavcodec/qdm2.c