Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-11-19 22:06:01 +0300
committerJames Almer <jamrial@gmail.com>2015-11-19 22:06:01 +0300
commit183827e6894c2e427fddaa6bfc16cae5ffdb385d (patch)
treeadd73c3425b7dc7f64e21a48e133e9b9cec06301 /libavformat/rsd.c
parent01c63e69f174eae394cf8541e7b19e8c8886fbb9 (diff)
avformat/rsd: reindent after the last commit
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rsd.c')
-rw-r--r--libavformat/rsd.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/libavformat/rsd.c b/libavformat/rsd.c
index 8cef7f5850..a0bc8fc0a4 100644
--- a/libavformat/rsd.c
+++ b/libavformat/rsd.c
@@ -122,27 +122,27 @@ static int rsd_read_header(AVFormatContext *s)
st->duration = av_get_audio_frame_duration(codec, avio_size(pb) - start);
break;
case AV_CODEC_ID_ADPCM_THP_LE:
- /* RSD3GADP is mono, so only alloc enough memory
- to store the coeff table for a single channel. */
+ /* RSD3GADP is mono, so only alloc enough memory
+ to store the coeff table for a single channel. */
- start = avio_rl32(pb);
+ start = avio_rl32(pb);
- if ((ret = ff_get_extradata(codec, s->pb, 32)) < 0)
- return ret;
+ if ((ret = ff_get_extradata(codec, s->pb, 32)) < 0)
+ return ret;
if (pb->seekable)
st->duration = av_get_audio_frame_duration(codec, avio_size(pb) - start);
break;
case AV_CODEC_ID_ADPCM_THP:
- codec->block_align = 8 * codec->channels;
- avio_skip(s->pb, 0x1A4 - avio_tell(s->pb));
+ codec->block_align = 8 * codec->channels;
+ avio_skip(s->pb, 0x1A4 - avio_tell(s->pb));
- if ((ret = ff_alloc_extradata(st->codec, 32 * st->codec->channels)) < 0)
- return ret;
+ if ((ret = ff_alloc_extradata(st->codec, 32 * st->codec->channels)) < 0)
+ return ret;
- for (i = 0; i < st->codec->channels; i++) {
- avio_read(s->pb, st->codec->extradata + 32 * i, 32);
- avio_skip(s->pb, 8);
- }
+ for (i = 0; i < st->codec->channels; i++) {
+ avio_read(s->pb, st->codec->extradata + 32 * i, 32);
+ avio_skip(s->pb, 8);
+ }
if (pb->seekable)
st->duration = (avio_size(pb) - start) / (8 * st->codec->channels) * 14;
break;