From: Misty De Meo <mi...@brew.sh> This is based on Maxim Poliakovski's patch from this 2014 email: https://ffmpeg.org/pipermail/ffmpeg-devel/2014-December/166169.html
This patchset is updated based on Michael Niedermayer's feedback. I've also included an improvement which ensures support for Sony .MPS MPEG files from UMD video discs, which lack the `PSMF` header that identifies PSP media. There are a couple of small fixes which are in commits indepent of Maxim's original commit in order to retain proper credit. I'd be happy to squash them into Maxim's commit if wanted, however. I've tested with both .MPS and .PMF files with success. There are some sample PMF files included in TRAC ticket #3233. Maxim Poliakovski (1): mpeg: add experimental support for PSMF audio. Misty De Meo (4): oma: move some constants into libavcodec atrac3plus_parser: use libavcodec's oma Fix detecting ATRAC3 audio from MPS files mpeg: fix use of deprecated struct Changelog | 2 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/atrac3plus_parser.c | 153 +++++++++++++++++++++++++++++++++++++++++ libavcodec/oma.c | 40 +++++++++++ libavcodec/oma.h | 37 ++++++++++ libavcodec/version.h | 2 +- libavformat/mpeg.c | 15 ++++ libavformat/mpeg.h | 1 + libavformat/oma.c | 18 ----- libavformat/oma.h | 13 +--- libavformat/omadec.c | 1 + libavformat/omaenc.c | 1 + libavformat/version.h | 2 +- 14 files changed, 255 insertions(+), 32 deletions(-) create mode 100644 libavcodec/atrac3plus_parser.c create mode 100644 libavcodec/oma.c create mode 100644 libavcodec/oma.h -- 2.15.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel