aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/westwood_aud.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-24 11:41:37 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-01-24 14:13:46 -0500
commit98c290cc0828a25b04259f2b408054aaeca016e4 (patch)
tree33644b23b37828e86eedc4bce091a93048ac9b8b /libavformat/westwood_aud.c
parentd481227c549aece0bc4a05819a771806b6cd7507 (diff)
downloadffmpeg-98c290cc0828a25b04259f2b408054aaeca016e4.tar.gz
cosmetics: indentation
Diffstat (limited to 'libavformat/westwood_aud.c')
-rw-r--r--libavformat/westwood_aud.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c
index 652045f579..21d16f7385 100644
--- a/libavformat/westwood_aud.c
+++ b/libavformat/westwood_aud.c
@@ -169,14 +169,14 @@ static int wsaud_read_packet(AVFormatContext *s,
pkt->duration = out_size;
} else {
- ret= av_get_packet(pb, pkt, chunk_size);
- if (ret != chunk_size)
- return AVERROR(EIO);
- pkt->pts = wsaud->audio_frame_counter;
- pkt->pts /= wsaud->audio_samplerate;
-
- /* 2 samples/byte, 1 or 2 samples per frame depending on stereo */
- wsaud->audio_frame_counter += (chunk_size * 2) / wsaud->audio_channels;
+ ret = av_get_packet(pb, pkt, chunk_size);
+ if (ret != chunk_size)
+ return AVERROR(EIO);
+ pkt->pts = wsaud->audio_frame_counter;
+ pkt->pts /= wsaud->audio_samplerate;
+
+ /* 2 samples/byte, 1 or 2 samples per frame depending on stereo */
+ wsaud->audio_frame_counter += (chunk_size * 2) / wsaud->audio_channels;
}
pkt->stream_index = st->index;