[FFmpeg-devel] [PATCH v3 5/6] avformat/wavdec: reindent
Nicolas Gaullier
nicolas.gaullier at arkena.com
Tue Aug 6 18:08:14 EEST 2019
---
libavformat/wavdec.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 2ef2d9e549..b9a782bec5 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -712,14 +712,14 @@ smv_out:
}
if (!CONFIG_S337M_DEMUXER || st->codecpar->codec_id != AV_CODEC_ID_DOLBY_E) {
- size = MAX_SIZE;
- if (st->codecpar->block_align > 1) {
- if (size < st->codecpar->block_align)
- size = st->codecpar->block_align;
- size = (size / st->codecpar->block_align) * st->codecpar->block_align;
- }
- size = FFMIN(size, left);
- ret = av_get_packet(s->pb, pkt, size);
+ size = MAX_SIZE;
+ if (st->codecpar->block_align > 1) {
+ if (size < st->codecpar->block_align)
+ size = st->codecpar->block_align;
+ size = (size / st->codecpar->block_align) * st->codecpar->block_align;
+ }
+ size = FFMIN(size, left);
+ ret = av_get_packet(s->pb, pkt, size);
} else {
size = FFMIN(AVPRIV_S337M_MAX_RECOMMENDED_PROBE_SIZE, left);
ret = avpriv_s337m_get_packet((void *)s, s->pb, pkt, size, 0);
--
2.14.1.windows.1
More information about the ffmpeg-devel
mailing list