[FFmpeg-cvslog] r13036 - in trunk/libavcodec: flac.c flac.h
Aurelien Jacobs
aurel
Sat May 3 01:16:17 CEST 2008
On Fri, 2 May 2008 23:34:34 +0200 (CEST)
jbr <subversion at mplayerhq.hu> wrote:
> Author: jbr
> Date: Fri May 2 23:34:34 2008
> New Revision: 13036
>
> Log:
> share streaminfo parsing function
>
> Modified:
> trunk/libavcodec/flac.c
> trunk/libavcodec/flac.h
>
> [...]
>
> Modified: trunk/libavcodec/flac.h
> ==============================================================================
> --- trunk/libavcodec/flac.h (original)
> +++ trunk/libavcodec/flac.h Fri May 2 23:34:34 2008
> @@ -39,4 +39,17 @@
> int channels; /**< number of channels */\
> int bps; /**< bits-per-sample */\
>
> +typedef struct FLACStreaminfo {
> + FLACSTREAMINFO
> +} FLACStreaminfo;
> +
> +/**
> + * Parse the Streaminfo metadata block
> + * @param[out] avctx codec context to set basic stream parameters
> + * @param[out] s where parsed information is stored
> + * @param[in] buffer pointer to start of 34-byte streaminfo data
> + */
> +void ff_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s,
^^^^^^^^^^^^^^
This requires #include "avcodec.h"
Aurel
More information about the ffmpeg-cvslog
mailing list