imgconvert: silence "incompatible pointer type" warning

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/18/head
Paul B Mahol 12 years ago
parent f9db2fc84d
commit 8671e995c8
  1. 2
      libavcodec/imgconvert.c

@ -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;

Loading…
Cancel
Save