libavcodec/exr : simplify reorder_pixels
authorMartin Vignali <martin.vignali@gmail.com>
Fri, 5 May 2017 20:20:58 +0000 (22:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 May 2017 18:58:53 +0000 (20:58 +0200)
commit2c6179aa829e6f50eea6faf47b2b6efd7650a41d
tree90d2c1d6ad3e8204a279bfed9c6fe9d817241a71
parenta453f5549a8c3f8307200b32d3b342f0b4af3153
libavcodec/exr : simplify reorder_pixels

reorder_pixels is call by rle_uncompress and zip_uncompress
with size == uncompress_size

uncompress_size is a multiple of 2 (because exr store data
in half, float, or uint32)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/exr.c