[FFmpeg-cvslog] r20625 - trunk/libavcodec/imgconvert.c

stefano subversion
Thu Nov 26 22:04:33 CET 2009


Author: stefano
Date: Thu Nov 26 22:04:33 2009
New Revision: 20625

Log:
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
pix_fmt_info.

Modified:
   trunk/libavcodec/imgconvert.c

Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c	Thu Nov 26 21:58:37 2009	(r20624)
+++ trunk/libavcodec/imgconvert.c	Thu Nov 26 22:04:33 2009	(r20625)
@@ -486,7 +486,7 @@ const char *avcodec_get_pix_fmt_name(enu
     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)



More information about the ffmpeg-cvslog mailing list