diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-14 18:32:00 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-16 23:29:50 +0100 |
commit | c598b569fb3d1f4b6c4868fe64f6989254df5186 (patch) | |
tree | 20531fac875eaedd8e9410f070530e665cf15fff /libavcodec/png.c | |
parent | f7518f1a0e0a1788c303de3c6198da07e575710c (diff) | |
download | ffmpeg-c598b569fb3d1f4b6c4868fe64f6989254df5186.tar.gz |
png: K&R formatting cosmetics
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r-- | libavcodec/png.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c index 65d696476a..cd75dc1815 100644 --- a/libavcodec/png.c +++ b/libavcodec/png.c @@ -22,8 +22,8 @@ #include "bytestream.h" #include "png.h" -const uint8_t ff_pngsig[8] = {137, 80, 78, 71, 13, 10, 26, 10}; -const uint8_t ff_mngsig[8] = {138, 77, 78, 71, 13, 10, 26, 10}; +const uint8_t ff_pngsig[8] = { 137, 80, 78, 71, 13, 10, 26, 10 }; +const uint8_t ff_mngsig[8] = { 138, 77, 78, 71, 13, 10, 26, 10 }; /* Mask to determine which y pixels are valid in a pass */ const uint8_t ff_png_pass_ymask[NB_PASSES] = { @@ -75,7 +75,7 @@ int ff_png_pass_row_size(int pass, int bits_per_pixel, int width) xmin = ff_png_pass_xmin[pass]; if (width <= xmin) return 0; - shift = ff_png_pass_xshift[pass]; + shift = ff_png_pass_xshift[pass]; pass_width = (width - xmin + (1 << shift) - 1) >> shift; return (pass_width * bits_per_pixel + 7) >> 3; } |