aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flac.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-01-25 02:27:02 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-01-25 02:27:02 +0000
commitaeb987cebf021192979ee162d82ab2577d62f72e (patch)
tree1a6b1b6dfdf5208fc700d242c8039a7692b01b91 /libavcodec/flac.h
parent7fa9a0a2565d2b1b9039c7e4da9092a2760579a1 (diff)
downloadffmpeg-aeb987cebf021192979ee162d82ab2577d62f72e.tar.gz
flacdec: get total number of samples from STREAMINFO
Originally committed as revision 16768 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flac.h')
-rw-r--r--libavcodec/flac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h
index 246ec44fd2..02b41e1f99 100644
--- a/libavcodec/flac.h
+++ b/libavcodec/flac.h
@@ -53,6 +53,7 @@ enum {
int samplerate; /**< sample rate */\
int channels; /**< number of channels */\
int bps; /**< bits-per-sample */\
+ int64_t samples; /**< total number of samples */\
typedef struct FLACStreaminfo {
FLACSTREAMINFO