diff options
Diffstat (limited to 'libavcodec/flac.h')
-rw-r--r-- | libavcodec/flac.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h index 5d20c0b974..c93d98e144 100644 --- a/libavcodec/flac.h +++ b/libavcodec/flac.h @@ -83,4 +83,14 @@ int ff_flac_is_extradata_valid(AVCodecContext *avctx, enum FLACExtradataFormat *format, uint8_t **streaminfo_start); +/** + * Parse the metadata block parameters from the header. + * @param[in] block_header header data, at least 4 bytes + * @param[out] last indicator for last metadata block + * @param[out] type metadata block type + * @param[out] size metadata block size + */ +void ff_flac_parse_block_header(const uint8_t *block_header, + int *last, int *type, int *size); + #endif /* AVCODEC_FLAC_H */ |