ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Sun May 10 
16:28:37 2015 +0200| [07cb6bf985e2c3fba795870a23accf8d2895758f] | committer: 
Michael Niedermayer

postproc/postprocess: Use size_t to hold strlen()s value

This should make no difference but its more correct

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

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

 libpostproc/postprocess.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index af70bb3..acce0f2 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -737,7 +737,7 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, 
int quality)
         /* replace stuff from the replace Table */
         for(i=0; replaceTable[2*i]; i++){
             if(!strcmp(replaceTable[2*i], filterName)){
-                int newlen= strlen(replaceTable[2*i + 1]);
+                size_t newlen = strlen(replaceTable[2*i + 1]);
                 int plen;
                 int spaceLeft;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to