Browse Source

Use av_pix_fmt_descriptors information in avcodec_pix_fmt_string().

Originally committed as revision 25688 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Stefano Sabatini 14 years ago
parent
commit
a5f27f6db8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/imgconvert.c

+ 1
- 1
libavcodec/imgconvert.c View File

@@ -446,7 +446,7 @@ void avcodec_pix_fmt_string (char *buf, int buf_size, enum PixelFormat pix_fmt)
"%-11s %5d %9d", "%-11s %5d %9d",
av_pix_fmt_descriptors[pix_fmt].name, av_pix_fmt_descriptors[pix_fmt].name,
info.nb_channels, info.nb_channels,
info.depth
av_get_bits_per_pixel(&av_pix_fmt_descriptors[pix_fmt])
); );
} }
} }


Loading…
Cancel
Save