aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2008-08-19 10:36:30 +0000
committerPeter Ross <pross@xvid.org>2008-08-19 10:36:30 +0000
commite06b00f3b610ae86fdd4e7e95478bb06c2a4021d (patch)
treef9a7f0e175f708490e7bc84f22ca97ca4c87f5f7 /libavcodec/utils.c
parent4efbd75583ab6462936303f625f389419dc688b4 (diff)
downloadffmpeg-e06b00f3b610ae86fdd4e7e95478bb06c2a4021d.tar.gz
Add SAMPLE_FMT_DBL.
Originally committed as revision 14832 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index f25a672943..2d1156c82b 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1329,6 +1329,8 @@ int av_get_bits_per_sample_format(enum SampleFormat sample_fmt) {
case SAMPLE_FMT_S32:
case SAMPLE_FMT_FLT:
return 32;
+ case SAMPLE_FMT_DBL:
+ return 64;
default:
return 0;
}