OSDN Git Service

Sanitise get_bits macros, part 1
authorMans Rullgard <mans@mansr.com>
Sun, 23 Jan 2011 01:24:46 +0000 (01:24 +0000)
committerMans Rullgard <mans@mansr.com>
Sun, 23 Jan 2011 13:57:56 +0000 (13:57 +0000)
commitbf5f9b528b4117596afc57578a36e7b5728b15d3
tree1ebc2931216971bc4a4a9915728e029dda4e6b10
parent938f72e19957e9ee3f4ae2bee2fb53ded359009f
Sanitise get_bits macros, part 1

Some of the macros in get_bits.h include a final semicolon,
some do not.  This removes these or adds do {} while(0) around
the macros as appropriate and adds semicolons where needed in
calling code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/get_bits.h
libavcodec/mjpegdec.c