aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-26 21:04:33 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-26 21:04:33 +0000
commit797229a6a2a189d6f58bf6bbd40c87f88ac1304c (patch)
treed45f0794d8f724848070d196590dffa876235f27 /libavcodec
parent382cb1154c0f7f5a55e715c154af876364e7205f (diff)
downloadffmpeg-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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/imgconvert.c2
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)