Mercurial > libavcodec.hg
changeset 10579:dacdec913c5b libavcodec
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
pix_fmt_info.
author | stefano |
---|---|
date | Thu, 26 Nov 2009 21:04:33 +0000 |
parents | 1368ec7cca5b |
children | 2e01212efb32 |
files | imgconvert.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/imgconvert.c Thu Nov 26 20:46:13 2009 +0000 +++ b/imgconvert.c Thu Nov 26 21:04:33 2009 +0000 @@ -486,7 +486,7 @@ if (pix_fmt < 0 || pix_fmt >= PIX_FMT_NB) return NULL; else - return pix_fmt_info[pix_fmt].name; + return av_pix_fmt_descriptors[pix_fmt].name; } static enum PixelFormat avcodec_get_pix_fmt_internal(const char *name)