diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-27 16:10:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-27 16:10:36 +0200 |
commit | 9a18395b92f021938e1db29100f6c8ca690d3ab7 (patch) | |
tree | ffa61a1e49713e51f6457be5d72b2b76d61b74b0 /libavcodec/j2k.c | |
parent | c2e942099ac8ec989ec49ca9f466909726548091 (diff) |
j2k/jpeg2000: merge a few whitespaces
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/j2k.c')
-rw-r--r-- | libavcodec/j2k.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libavcodec/j2k.c b/libavcodec/j2k.c index 443259b40d..1409f1f24c 100644 --- a/libavcodec/j2k.c +++ b/libavcodec/j2k.c @@ -431,14 +431,15 @@ void ff_j2k_cleanup(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty) for (bandno = 0; bandno < reslevel->nbands; bandno++) { Jpeg2000Band *band = reslevel->band + bandno; - for (precno = 0; precno < reslevel->num_precincts_x * reslevel->num_precincts_y; precno++) { - Jpeg2000Prec *prec = band->prec + precno; - av_freep(&prec->zerobits); - av_freep(&prec->cblkincl); - av_freep(&prec->cblk); - } - av_freep(&band->prec); + for (precno = 0; precno < reslevel->num_precincts_x * reslevel->num_precincts_y; precno++) { + Jpeg2000Prec *prec = band->prec + precno; + av_freep(&prec->zerobits); + av_freep(&prec->cblkincl); + av_freep(&prec->cblk); } + + av_freep(&band->prec); + } av_freep(&reslevel->band); } |