aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-12-18 23:06:00 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-12-18 23:06:00 +0100
commitd687b8c875261e00667e76037fd94f6edfe82f85 (patch)
tree43f876fa03ef28730bf8cf7ac5ccc903c30678a0 /libavformat/rmdec.c
parent00a62e6776c7b2393b1c6f3be9ae85200bf2bb1e (diff)
downloadffmpeg-d687b8c875261e00667e76037fd94f6edfe82f85.tar.gz
Cosmetics: Reindent after last commit.
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index a84fdc67b1..a19786b4e5 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -199,14 +199,14 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb,
if (read_all) {
codecdata_length = 0;
} else {
- avio_rb16(pb); avio_r8(pb);
- if (version == 5)
- avio_r8(pb);
- codecdata_length = avio_rb32(pb);
- if(codecdata_length + FF_INPUT_BUFFER_PADDING_SIZE <= (unsigned)codecdata_length){
- av_log(s, AV_LOG_ERROR, "codecdata_length too large\n");
- return -1;
- }
+ avio_rb16(pb); avio_r8(pb);
+ if (version == 5)
+ avio_r8(pb);
+ codecdata_length = avio_rb32(pb);
+ if(codecdata_length + FF_INPUT_BUFFER_PADDING_SIZE <= (unsigned)codecdata_length){
+ av_log(s, AV_LOG_ERROR, "codecdata_length too large\n");
+ return -1;
+ }
}
ast->audio_framesize = st->codec->block_align;