[FFmpeg-devel] [PATCH] GET_RL_VLC can hide function parameters

Erik Hovland erik
Tue Jul 22 02:14:26 CEST 2008


The function parameter named 'n' is pretty popular in libavcodec. The
macro GET_RL_VLC also uses 'n'. That means that the parameter is hidden
w/in that macro. If the name of that int is changed to length, then the
parameter is never hidden.

Functions that get their 'n' hidden by that macro:
ff_msmpeg4_decode_block
mpeg2_fast_decode_block_non_intra
mpeg2_decode_block_intra
mpeg2_decode_block_non_intra
mpeg1_fast_decode_block_inter
mpeg1_decode_block_inter
mpeg1_decode_block_intra

E

-- 
Erik Hovland
mail: erik at hovland.org
web: http://hovland.org/
PGP/GPG public key available on request
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-fix-pound-define-to-not-use-n.patch
Type: text/x-diff
Size: 1495 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080721/c73c0337/attachment.patch>



More information about the ffmpeg-devel mailing list