[FFmpeg-cvslog] cosmetics: indentation
Justin Ruggles
git at videolan.org
Tue Jan 24 23:12:54 CET 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Tue Jan 24 11:41:37 2012 -0500| [98c290cc0828a25b04259f2b408054aaeca016e4] | committer: Justin Ruggles
cosmetics: indentation
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=98c290cc0828a25b04259f2b408054aaeca016e4
---
libavformat/westwood_aud.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c
index 652045f..21d16f7 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;
More information about the ffmpeg-cvslog
mailing list