aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-07-07 17:50:09 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-07-07 17:50:09 +0000
commitac3e183403ecc246520fd8882eb8ff5e58473413 (patch)
tree6cfc486d8fae742fcb54a943907f82666163e82e /libavcodec/avcodec.h
parent29c5cdcaec66b3e2a783eb1d34bdb8cba5d9192f (diff)
downloadffmpeg-ac3e183403ecc246520fd8882eb8ff5e58473413.tar.gz
av_get_bits_per_sample and due simplifications
Originally committed as revision 5661 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 5509621d4b..a829fd6dd1 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2499,6 +2499,10 @@ void avcodec_default_free_buffers(AVCodecContext *s);
*/
char av_get_pict_type_char(int pict_type);
+/**
+ * returns codec bits per sample
+ */
+int av_get_bits_per_sample(enum CodecID codec_id);
/* frame parsing */
typedef struct AVCodecParserContext {