[FFmpeg-cvslog] r21064 - trunk/libavcodec/h263.c
michael
subversion
Thu Jan 7 16:46:45 CET 2010
Author: michael
Date: Thu Jan 7 16:46:45 2010
New Revision: 21064
Log:
Add some const qualifiers.
Modified:
trunk/libavcodec/h263.c
Modified: trunk/libavcodec/h263.c
==============================================================================
--- trunk/libavcodec/h263.c Thu Jan 7 16:43:49 2010 (r21063)
+++ trunk/libavcodec/h263.c Thu Jan 7 16:46:45 2010 (r21064)
@@ -377,7 +377,7 @@ static inline int get_block_rate(MpegEnc
* @param[out] st scantable for each 8x8 block
* @param[in] zigzag_last_index index refering to the last non zero coefficient in zigzag order
*/
-static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], int dir[6], uint8_t *st[6], int zigzag_last_index[6])
+static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], const int zigzag_last_index[6])
{
int i, n;
memcpy(s->block_last_index, zigzag_last_index, sizeof(int)*6);
@@ -408,7 +408,7 @@ static inline void restore_ac_coeffs(Mpe
* @param[out] st scantable for each 8x8 block
* @param[out] zigzag_last_index index refering to the last non zero coefficient in zigzag order
*/
-static inline int decide_ac_pred(MpegEncContext * s, DCTELEM block[6][64], int dir[6], uint8_t *st[6], int zigzag_last_index[6])
+static inline int decide_ac_pred(MpegEncContext * s, DCTELEM block[6][64], const int dir[6], uint8_t *st[6], int zigzag_last_index[6])
{
int score= 0;
int i, n;
More information about the ffmpeg-cvslog
mailing list