lavf/astenc: fix weird indent, use braces in else statements
Braces are employed to improve readability.
This commit is contained in:
@ -147,10 +147,12 @@ static int ast_write_trailer(AVFormatContext *s)
|
|||||||
av_log(s, AV_LOG_WARNING, "Loopstart value is out of range and will be ignored\n");
|
av_log(s, AV_LOG_WARNING, "Loopstart value is out of range and will be ignored\n");
|
||||||
ast->loopstart = -1;
|
ast->loopstart = -1;
|
||||||
avio_skip(pb, 4);
|
avio_skip(pb, 4);
|
||||||
} else
|
} else {
|
||||||
avio_wb32(pb, ast->loopstart);
|
avio_wb32(pb, ast->loopstart);
|
||||||
} else
|
}
|
||||||
|
} else {
|
||||||
avio_skip(pb, 4);
|
avio_skip(pb, 4);
|
||||||
|
}
|
||||||
|
|
||||||
/* Loopend if provided. Otherwise number of samples again */
|
/* Loopend if provided. Otherwise number of samples again */
|
||||||
if (ast->loopend && ast->loopstart >= 0) {
|
if (ast->loopend && ast->loopstart >= 0) {
|
||||||
|
Reference in New Issue
Block a user