summaryrefslogtreecommitdiff
path: root/libavformat/sol.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-12-17 18:14:38 +0000
committerDiego Biurrun <diego@biurrun.de>2005-12-17 18:14:38 +0000
commit115329f16062074e11ccf3b89ead6176606c9696 (patch)
treee98aa993905a702688bf821737ab9a443969fc28 /libavformat/sol.c
parentd76319b1ab716320f6e6a4d690b85fe4504ebd5b (diff)
COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sol.c')
-rw-r--r--libavformat/sol.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/sol.c b/libavformat/sol.c
index 70dab2ac12..4f6a8934c0 100644
--- a/libavformat/sol.c
+++ b/libavformat/sol.c
@@ -1,4 +1,4 @@
-/*
+/*
* Sierra SOL decoder
* Copyright Konstantin Shishkov.
*
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/*
+/*
* Based on documents from Game Audio Player and own research
*/
@@ -81,7 +81,7 @@ static int sol_channels(int magic, int type)
if (magic == 0x0B8D || !(type & SOL_STEREO)) return 1;
return 2;
}
-
+
static int sol_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
@@ -101,14 +101,14 @@ static int sol_read_header(AVFormatContext *s,
size = get_le32(pb);
if (magic != 0x0B8D)
get_byte(pb); /* newer SOLs contain padding byte */
-
+
codec = sol_codec_id(magic, type);
channels = sol_channels(magic, type);
-
+
if (codec == CODEC_ID_SOL_DPCM)
id = sol_codec_type(magic, type);
else id = 0;
-
+
/* now we are ready: build format streams */
st = av_new_stream(s, 0);
if (!st)
@@ -117,7 +117,7 @@ static int sol_read_header(AVFormatContext *s,
st->codec->codec_tag = id;
st->codec->codec_id = codec;
st->codec->channels = channels;
- st->codec->sample_rate = rate;
+ st->codec->sample_rate = rate;
av_set_pts_info(st, 64, 1, rate);
return 0;
}