[FFmpeg-cvslog] j2kenc: cleanup() is not used outside thus it is static

Michael Niedermayer git at videolan.org
Tue Sep 27 19:32:14 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 27 19:00:21 2011 +0200| [1e086fd73054d79addf485a9a568620ff4516087] | committer: Michael Niedermayer

j2kenc: cleanup() is not used outside thus it is static

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e086fd73054d79addf485a9a568620ff4516087
---

 libavcodec/j2kenc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index a56e246..53ec2ff 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -888,7 +888,7 @@ static int encode_tile(J2kEncoderContext *s, J2kTile *tile, int tileno)
     return 0;
 }
 
-void cleanup(J2kEncoderContext *s)
+static void cleanup(J2kEncoderContext *s)
 {
     int tileno, compno;
     J2kCodingStyle *codsty = &s->codsty;



More information about the ffmpeg-cvslog mailing list