]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flicvideo.c
cleanup get_unary()
[ffmpeg] / libavcodec / flicvideo.c
index d35ac0e89fa169e9610318d6af6eac8343afd286..e57688fe415747a19171a5b34bc97ed0eef4e358 100644 (file)
@@ -17,7 +17,6 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
  */
 
 /**
@@ -584,12 +583,12 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx,
                  * a second pass over the line here, swapping the bytes.
                  */
 #ifdef WORDS_BIGENDIAN
-                  pixel_ptr = y_ptr;
-                  pixel_countdown = s->avctx->width;
-                  while (pixel_countdown > 0) {
+                pixel_ptr = y_ptr;
+                pixel_countdown = s->avctx->width;
+                while (pixel_countdown > 0) {
                     *((signed short*)(&pixels[pixel_ptr])) = AV_RL16(&buf[pixel_ptr]);
                     pixel_ptr += 2;
-                  }
+                }
 #endif
                 y_ptr += s->frame.linesize[0];
             }