summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg4audio.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-05-13 22:57:30 +0000
committerAlex Converse <alex.converse@gmail.com>2009-05-13 22:57:30 +0000
commit107815de42dc088de6087f3f86f71c52974fe43e (patch)
treec3cf336453e504cb9ee6375a7c5c80aa6328d139 /libavcodec/mpeg4audio.h
parentf2e5c8b96a4289ca3bf3b76f916d8f791bcb964e (diff)
Subroutine to copy an AAC Program Config Element (PCE)
Originally committed as revision 18817 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg4audio.h')
-rw-r--r--libavcodec/mpeg4audio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/mpeg4audio.h b/libavcodec/mpeg4audio.h
index b149362f0e..fd78bdbee9 100644
--- a/libavcodec/mpeg4audio.h
+++ b/libavcodec/mpeg4audio.h
@@ -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 */