Skip to content

Commit

Permalink
oggdec: add support for demuxing of Opus packets.
Browse files Browse the repository at this point in the history
added CODEC_ID_OPUS in libavcodec.
  • Loading branch information
justinruggles committed Nov 17, 2011
1 parent 92db95e commit feefb59
Show file tree
Hide file tree
Showing 7 changed files with 460 additions and 2 deletions.
1 change: 1 addition & 0 deletions libavcodec/avcodec.h
Expand Up @@ -363,6 +363,7 @@ enum CodecID {
CODEC_ID_8SVX_FIB, CODEC_ID_8SVX_FIB,
#endif #endif
CODEC_ID_BMV_AUDIO, CODEC_ID_BMV_AUDIO,
CODEC_ID_OPUS,


/* subtitle codecs */ /* subtitle codecs */
CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs. CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/version.h
Expand Up @@ -21,7 +21,7 @@
#define AVCODEC_VERSION_H #define AVCODEC_VERSION_H


#define LIBAVCODEC_VERSION_MAJOR 53 #define LIBAVCODEC_VERSION_MAJOR 53
#define LIBAVCODEC_VERSION_MINOR 20 #define LIBAVCODEC_VERSION_MINOR 21
#define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_MICRO 0


#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
Expand Down
1 change: 1 addition & 0 deletions libavformat/Makefile
Expand Up @@ -168,6 +168,7 @@ OBJS-$(CONFIG_OGG_DEMUXER) += oggdec.o \
oggparsedirac.o \ oggparsedirac.o \
oggparseflac.o \ oggparseflac.o \
oggparseogm.o \ oggparseogm.o \
oggparseopus.o \
oggparseskeleton.o \ oggparseskeleton.o \
oggparsespeex.o \ oggparsespeex.o \
oggparsetheora.o \ oggparsetheora.o \
Expand Down
1 change: 1 addition & 0 deletions libavformat/oggdec.c
Expand Up @@ -47,6 +47,7 @@ static const struct ogg_codec * const ogg_codecs[] = {
&ff_theora_codec, &ff_theora_codec,
&ff_flac_codec, &ff_flac_codec,
&ff_celt_codec, &ff_celt_codec,
&ff_opus_codec,
&ff_old_dirac_codec, &ff_old_dirac_codec,
&ff_old_flac_codec, &ff_old_flac_codec,
&ff_ogm_video_codec, &ff_ogm_video_codec,
Expand Down
1 change: 1 addition & 0 deletions libavformat/oggdec.h
Expand Up @@ -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_ogm_video_codec;
extern const struct ogg_codec ff_old_dirac_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_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_skeleton_codec;
extern const struct ogg_codec ff_speex_codec; extern const struct ogg_codec ff_speex_codec;
extern const struct ogg_codec ff_theora_codec; extern const struct ogg_codec ff_theora_codec;
Expand Down

0 comments on commit feefb59

Please sign in to comment.