[FFmpeg-cvslog] r25688 - trunk/libavcodec/imgconvert.c
stefano
subversion
Sun Nov 7 14:30:39 CET 2010
Author: stefano
Date: Sun Nov 7 14:30:39 2010
New Revision: 25688
Log:
Use av_pix_fmt_descriptors information in avcodec_pix_fmt_string().
Modified:
trunk/libavcodec/imgconvert.c
Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c Sun Nov 7 14:30:36 2010 (r25687)
+++ trunk/libavcodec/imgconvert.c Sun Nov 7 14:30:39 2010 (r25688)
@@ -446,7 +446,7 @@ void avcodec_pix_fmt_string (char *buf,
"%-11s %5d %9d",
av_pix_fmt_descriptors[pix_fmt].name,
info.nb_channels,
- info.depth
+ av_get_bits_per_pixel(&av_pix_fmt_descriptors[pix_fmt])
);
}
}
More information about the ffmpeg-cvslog
mailing list