Permalink
Browse files

oggdec: add support for demuxing of Opus packets.

added CODEC_ID_OPUS in libavcodec.
  • Loading branch information...
1 parent 92db95e commit feefb59de71345483a7ad790b2839f5198f6742f @justinruggles committed Nov 16, 2011
Showing with 460 additions and 2 deletions.
  1. +1 −0 libavcodec/avcodec.h
  2. +1 −1 libavcodec/version.h
  3. +1 −0 libavformat/Makefile
  4. +1 −0 libavformat/oggdec.c
  5. +1 −0 libavformat/oggdec.h
  6. +454 −0 libavformat/oggparseopus.c
  7. +1 −1 libavformat/version.h
View
@@ -363,6 +363,7 @@ enum CodecID {
CODEC_ID_8SVX_FIB,
#endif
CODEC_ID_BMV_AUDIO,
+ CODEC_ID_OPUS,
/* subtitle codecs */
CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
View
@@ -21,7 +21,7 @@
#define AVCODEC_VERSION_H
#define LIBAVCODEC_VERSION_MAJOR 53
-#define LIBAVCODEC_VERSION_MINOR 20
+#define LIBAVCODEC_VERSION_MINOR 21
#define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
View
@@ -168,6 +168,7 @@ OBJS-$(CONFIG_OGG_DEMUXER) += oggdec.o \
oggparsedirac.o \
oggparseflac.o \
oggparseogm.o \
+ oggparseopus.o \
oggparseskeleton.o \
oggparsespeex.o \
oggparsetheora.o \
View
@@ -47,6 +47,7 @@ static const struct ogg_codec * const ogg_codecs[] = {
&ff_theora_codec,
&ff_flac_codec,
&ff_celt_codec,
+ &ff_opus_codec,
&ff_old_dirac_codec,
&ff_old_flac_codec,
&ff_ogm_video_codec,
View
@@ -107,6 +107,7 @@ extern const struct ogg_codec ff_ogm_text_codec;
extern const struct ogg_codec ff_ogm_video_codec;
extern const struct ogg_codec ff_old_dirac_codec;
extern const struct ogg_codec ff_old_flac_codec;
+extern const struct ogg_codec ff_opus_codec;
extern const struct ogg_codec ff_skeleton_codec;
extern const struct ogg_codec ff_speex_codec;
extern const struct ogg_codec ff_theora_codec;
Oops, something went wrong.

0 comments on commit feefb59

Please sign in to comment.