[Ffmpeg-devel] decode_init_vlc in h264.c
Panagiotis Issaris
takis.issaris
Wed Nov 8 16:07:50 CET 2006
Hi,
The function decode_init_vlc() takes a H264Context as a parameter
although it does not use it:
3152 static void decode_init_vlc(H264Context *h){
...
3159 init_vlc(&chroma_dc_coeff_token_vlc,
CHROMA_DC_COEFF_TOKEN_VLC_BITS, 4*5,
3160 &chroma_dc_coeff_token_len [0], 1, 1,
3161 &chroma_dc_coeff_token_bits[0], 1, 1, 1);
...
}
The only variables being accessed are static globals.
Should the h parameter go away?
With friendly regards,
Takis
--
vCard: http://www.issaris.org/pi.vcf
Public key: http://www.issaris.org/pi.key
More information about the ffmpeg-devel
mailing list