Mercurial > libavcodec.hg
diff mpeg4audio.h @ 9636:8e95c7402d1a libavcodec
Subroutine to copy an AAC Program Config Element (PCE)
author | alexc |
---|---|
date | Wed, 13 May 2009 22:57:30 +0000 |
parents | b687da895962 |
children | 2497c153571a |
line wrap: on
line diff
--- a/mpeg4audio.h Wed May 13 17:59:46 2009 +0000 +++ b/mpeg4audio.h Wed May 13 22:57:30 2009 +0000 @@ -23,6 +23,8 @@ #define AVCODEC_MPEG4AUDIO_H #include <stdint.h> +#include "get_bits.h" +#include "put_bits.h" typedef struct { int object_type; @@ -90,4 +92,9 @@ AOT_SMR_MAIN, ///< N Symbolic Music Representation Main }; +#define MAX_PCE_SIZE 304 ///<Maximum size of a PCE including the 3-bit ID_PCE + ///<marker and the comment + +int ff_copy_pce_data(PutBitContext *pb, GetBitContext *gb); + #endif /* AVCODEC_MPEG4AUDIO_H */