summaryrefslogtreecommitdiff
path: root/libavcodec/flac.h
diff options
context:
space:
mode:
authorMichael Chinen <mchinen@gmail.com>2010-12-07 13:50:13 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-07 13:50:13 +0000
commit71b6fc216c00f32f834cd49465341174e74ea3b9 (patch)
treea5120a9c24b51fa5981c8b268ec15e5de3395f2d /libavcodec/flac.h
parent7f4e432148779b338a6199f50eb70845c78fd060 (diff)
Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
ff_flac_decode_frame_header(). Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25911 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flac.h')
-rw-r--r--libavcodec/flac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h
index fe38463976..27f0090328 100644
--- a/libavcodec/flac.h
+++ b/libavcodec/flac.h
@@ -81,6 +81,11 @@ typedef struct FLACFrameInfo {
FLACCOMMONINFO
int blocksize; /**< block size of the frame */
int ch_mode; /**< channel decorrelation mode */
+ int64_t frame_or_sample_num; /**< frame number or sample number */
+ int is_var_size; /**< specifies if the stream uses variable
+ block sizes or a fixed block size;
+ also determines the meaning of
+ frame_or_sample_num */
} FLACFrameInfo;
/**