[FFmpeg-cvslog] r16871 - trunk/libavcodec/flacdec.c

Michael Niedermayer michaelni
Sat Jan 31 11:16:31 CET 2009


On Sat, Jan 31, 2009 at 02:20:41AM +0100, jbr wrote:
> Author: jbr
> Date: Sat Jan 31 02:20:40 2009
> New Revision: 16871
> 
> Log:
> flacdec: add support for SAMPLE_FMT_32
> 
> Modified:
>    trunk/libavcodec/flacdec.c
> 
> Modified: trunk/libavcodec/flacdec.c
> ==============================================================================
> --- trunk/libavcodec/flacdec.c	Sat Jan 31 01:45:34 2009	(r16870)
> +++ trunk/libavcodec/flacdec.c	Sat Jan 31 02:20:40 2009	(r16871)
> @@ -63,6 +63,8 @@ typedef struct FLACContext {
>  
>      int blocksize/*, last_blocksize*/;
>      int curr_bps;
> +    int sample_shift;   /* shift required to make output samples 16-bit or 32-bit */
> +    int is32;           /* flag to indicate if output should be 32-bit instead of 16-bit */
>      enum decorrelation_type decorrelation;
>  
>      int32_t *decoded[MAX_CHANNELS];

doxygen


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090131/7f19314f/attachment.pgp>



More information about the ffmpeg-cvslog mailing list