Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: source/patched-ffmpeg-mt/libavformat/oma.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Sony OpenMG (OMA) demuxer 2 * Sony OpenMG (OMA) demuxer
3 * 3 *
4 * Copyright (c) 2008 Maxim Poliakovski 4 * Copyright (c) 2008 Maxim Poliakovski
5 * 2008 Benjamin Larsson 5 * 2008 Benjamin Larsson
6 * 6 *
7 * This file is part of FFmpeg. 7 * This file is part of FFmpeg.
8 * 8 *
9 * FFmpeg is free software; you can redistribute it and/or 9 * FFmpeg is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
(...skipping 27 matching lines...) Expand all
38 * 38 *
39 * LIMITATIONS: This version supports only plain (unencrypted) OMA files. 39 * LIMITATIONS: This version supports only plain (unencrypted) OMA files.
40 * If any DRM-protected (encrypted) file is encountered you will get the 40 * If any DRM-protected (encrypted) file is encountered you will get the
41 * corresponding error message. Try to remove the encryption using any 41 * corresponding error message. Try to remove the encryption using any
42 * Sony software (for example SonicStage). 42 * Sony software (for example SonicStage).
43 * CODEC SUPPORT: Only ATRAC3 codec is currently supported! 43 * CODEC SUPPORT: Only ATRAC3 codec is currently supported!
44 */ 44 */
45 45
46 #include "avformat.h" 46 #include "avformat.h"
47 #include "libavutil/intreadwrite.h" 47 #include "libavutil/intreadwrite.h"
48 #include "raw.h" 48 #include "pcm.h"
49 #include "riff.h" 49 #include "riff.h"
50 #include "id3v2.h" 50 #include "id3v2.h"
51 51
52 #define EA3_HEADER_SIZE 96 52 #define EA3_HEADER_SIZE 96
53 53
54 enum { 54 enum {
55 OMA_CODECID_ATRAC3 = 0, 55 OMA_CODECID_ATRAC3 = 0,
56 OMA_CODECID_ATRAC3P = 1, 56 OMA_CODECID_ATRAC3P = 1,
57 OMA_CODECID_MP3 = 3, 57 OMA_CODECID_MP3 = 3,
58 OMA_CODECID_LPCM = 4, 58 OMA_CODECID_LPCM = 4,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 oma_read_header, 197 oma_read_header,
198 oma_read_packet, 198 oma_read_packet,
199 0, 199 0,
200 pcm_read_seek, 200 pcm_read_seek,
201 .flags= AVFMT_GENERIC_INDEX, 201 .flags= AVFMT_GENERIC_INDEX,
202 .extensions = "oma,aa3", 202 .extensions = "oma,aa3",
203 .codec_tag= (const AVCodecTag* const []){codec_oma_tags, 0}, 203 .codec_tag= (const AVCodecTag* const []){codec_oma_tags, 0},
204 .metadata_conv = ff_id3v2_metadata_conv, 204 .metadata_conv = ff_id3v2_metadata_conv,
205 }; 205 };
206 206
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/oggenc.c ('k') | source/patched-ffmpeg-mt/libavformat/options.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698