Subroutine to copy an AAC Program Config Element (PCE)

Originally committed as revision 18817 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Converse 2009-05-13 22:57:30 +00:00
parent f2e5c8b96a
commit 107815de42
2 changed files with 49 additions and 0 deletions

View file

@ -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 @@ enum AudioObjectType {
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 */