]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/loco.c
Consistency: make the output buffer the first argument of functions
[ffmpeg] / libavcodec / loco.c
index c023b08ff69bb15bb1df854d762878e0d3d88927..ad5737ec5b625bfc36c03fae995669dc3d31b5ba 100644 (file)
@@ -152,7 +152,7 @@ static int loco_decode_plane(LOCOContext *l, uint8_t *data, int width, int heigh
         data += stride;
     }
 
-    return ((get_bits_count(&rc.gb) + 7) >> 3);
+    return (get_bits_count(&rc.gb) + 7) >> 3;
 }
 
 static int decode_frame(AVCodecContext *avctx,
@@ -282,4 +282,5 @@ AVCodec loco_decoder = {
     NULL,
     decode_frame,
     CODEC_CAP_DR1,
+    .long_name = NULL_IF_CONFIG_SMALL("LOCO"),
 };