diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-26 21:04:33 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-26 21:04:33 +0000 |
commit | 797229a6a2a189d6f58bf6bbd40c87f88ac1304c (patch) | |
tree | d45f0794d8f724848070d196590dffa876235f27 | |
parent | 382cb1154c0f7f5a55e715c154af876364e7205f (diff) | |
download | ffmpeg-797229a6a2a189d6f58bf6bbd40c87f88ac1304c.tar.gz |
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
pix_fmt_info.
Originally committed as revision 20625 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/imgconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 5e4d4f9337..2adf589c2e 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -486,7 +486,7 @@ const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt) 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) |