diff flac.h @ 8661:94f7aca055d5 libavcodec

flacdec: get total number of samples from STREAMINFO
author jbr
date Sun, 25 Jan 2009 02:27:02 +0000
parents 4f1525c698e9
children e9d9d946f213
line wrap: on
line diff
--- a/flac.h	Sun Jan 25 00:34:32 2009 +0000
+++ b/flac.h	Sun Jan 25 02:27:02 2009 +0000
@@ -53,6 +53,7 @@
     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