Revision 797229a6 libavcodec/imgconvert.c

View differences:

libavcodec/imgconvert.c
486 486
    if (pix_fmt < 0 || pix_fmt >= PIX_FMT_NB)
487 487
        return NULL;
488 488
    else
489
        return pix_fmt_info[pix_fmt].name;
489
        return av_pix_fmt_descriptors[pix_fmt].name;
490 490
}
491 491

  
492 492
static enum PixelFormat avcodec_get_pix_fmt_internal(const char *name)

Also available in: Unified diff