imgconvert: silence "incompatible pointer type" warning
authorPaul B Mahol <onemda@gmail.com>
Mon, 13 May 2013 14:41:21 +0000 (14:41 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 13 May 2013 14:42:41 +0000 (14:42 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/imgconvert.c

index 616cf78..9251df8 100644 (file)
@@ -644,7 +644,7 @@ int main(void){
     int skip = 0;
 
     for (i=0; i<AV_PIX_FMT_NB*2; i++) {
-        AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
+        const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
         if(!desc || !desc->name) {
             skip ++;
             continue;