[FFmpeg-cvslog] Make denoise_dct_c() and dct_quantize_trellis_c() static in definitions
Mans Rullgard
git
Wed Jan 26 04:01:16 CET 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Tue Jan 25 01:02:19 2011 +0000| [e1643111798535ce175a80f9e30ddf97263651f5] | committer: Michael Niedermayer
Make denoise_dct_c() and dct_quantize_trellis_c() static in definitions
1d4da6a460d5b78026e3b854fdd6f469957a054c added static to the
prototypes for these fuctions. Adding it to the definitions
as well.
Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit aa61e39eac85e26bff0f296b1ec86d4533664adc)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1643111798535ce175a80f9e30ddf97263651f5
---
libavcodec/mpegvideo_enc.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 0018ad5..ef830af 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -2984,7 +2984,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
return 0;
}
-void denoise_dct_c(MpegEncContext *s, DCTELEM *block){
+static void denoise_dct_c(MpegEncContext *s, DCTELEM *block){
const int intra= s->mb_intra;
int i;
@@ -3008,9 +3008,9 @@ void denoise_dct_c(MpegEncContext *s, DCTELEM *block){
}
}
-int dct_quantize_trellis_c(MpegEncContext *s,
- DCTELEM *block, int n,
- int qscale, int *overflow){
+static int dct_quantize_trellis_c(MpegEncContext *s,
+ DCTELEM *block, int n,
+ int qscale, int *overflow){
const int *qmat;
const uint8_t *scantable= s->intra_scantable.scantable;
const uint8_t *perm_scantable= s->intra_scantable.permutated;
More information about the ffmpeg-cvslog
mailing list