[FFmpeg-devel] [PATCH 2/4] Sanitise get_bits macros, part 1

Ronald S. Bultje rsbultje
Sun Jan 23 15:41:29 CET 2011


Hi,

On Sat, Jan 22, 2011 at 9:35 PM, Mans Rullgard <mans at mansr.com> wrote:
> 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 at mansr.com>
> ---
> ?libavcodec/get_bits.h | ?127 +++++++++++++++++++++++++------------------------
> ?libavcodec/mjpegdec.c | ? 24 +++++-----
> ?2 files changed, 77 insertions(+), 74 deletions(-)

This looks OK.

Ronald



More information about the ffmpeg-devel mailing list