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

Side by Side Diff: source/patched-ffmpeg-mt/libavformat/soxdec.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
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/sol.c ('k') | source/patched-ffmpeg-mt/libavformat/tcp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * SoX native format demuxer 2 * SoX native format demuxer
3 * Copyright (c) 2009 Daniel Verkamp <daniel@drv.nu> 3 * Copyright (c) 2009 Daniel Verkamp <daniel@drv.nu>
4 * 4 *
5 * Based on libSoX sox-fmt.c 5 * Based on libSoX sox-fmt.c
6 * Copyright (c) 2008 robs@users.sourceforge.net 6 * Copyright (c) 2008 robs@users.sourceforge.net
7 * 7 *
8 * This file is part of FFmpeg. 8 * This file is part of FFmpeg.
9 * 9 *
10 * FFmpeg is free software; you can redistribute it and/or 10 * FFmpeg is free software; you can redistribute it and/or
(...skipping 13 matching lines...) Expand all
24 24
25 /** 25 /**
26 * SoX native format demuxer 26 * SoX native format demuxer
27 * @file 27 * @file
28 * @author Daniel Verkamp 28 * @author Daniel Verkamp
29 * @sa http://wiki.multimedia.cx/index.php?title=SoX_native_intermediate_format 29 * @sa http://wiki.multimedia.cx/index.php?title=SoX_native_intermediate_format
30 */ 30 */
31 31
32 #include "libavutil/intreadwrite.h" 32 #include "libavutil/intreadwrite.h"
33 #include "avformat.h" 33 #include "avformat.h"
34 #include "raw.h" 34 #include "pcm.h"
35 #include "sox.h" 35 #include "sox.h"
36 36
37 static int sox_probe(AVProbeData *p) 37 static int sox_probe(AVProbeData *p)
38 { 38 {
39 if (AV_RL32(p->buf) == SOX_TAG || AV_RB32(p->buf) == SOX_TAG) 39 if (AV_RL32(p->buf) == SOX_TAG || AV_RB32(p->buf) == SOX_TAG)
40 return AVPROBE_SCORE_MAX; 40 return AVPROBE_SCORE_MAX;
41 return 0; 41 return 0;
42 } 42 }
43 43
44 static int sox_read_header(AVFormatContext *s, 44 static int sox_read_header(AVFormatContext *s,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 AVInputFormat sox_demuxer = { 143 AVInputFormat sox_demuxer = {
144 "sox", 144 "sox",
145 NULL_IF_CONFIG_SMALL("SoX native format"), 145 NULL_IF_CONFIG_SMALL("SoX native format"),
146 0, 146 0,
147 sox_probe, 147 sox_probe,
148 sox_read_header, 148 sox_read_header,
149 sox_read_packet, 149 sox_read_packet,
150 NULL, 150 NULL,
151 pcm_read_seek, 151 pcm_read_seek,
152 }; 152 };
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/sol.c ('k') | source/patched-ffmpeg-mt/libavformat/tcp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698