]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqvideo.h
vertically aligning as per Michael's suggestion
[ffmpeg] / libavcodec / roqvideo.h
index 202f32a39471664c0dc50c71127daf9d245fdc21..03c03ed5165fc1d080d3884001dfee599fc2d397 100644 (file)
@@ -22,9 +22,9 @@
 #ifndef AVCODEC_ROQVIDEO_H
 #define AVCODEC_ROQVIDEO_H
 
+#include "libavutil/random.h"
 #include "avcodec.h"
 #include "dsputil.h"
-#include "random.h"
 
 typedef struct {
     unsigned char y[4];
@@ -51,7 +51,7 @@ typedef struct RoqContext {
     roq_cell cb2x2[256];
     roq_qcell cb4x4[256];
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
     int width, height;
 
@@ -89,4 +89,4 @@ void ff_apply_motion_4x4(RoqContext *ri, int x, int y, int deltax, int deltay);
 
 void ff_apply_motion_8x8(RoqContext *ri, int x, int y, int deltax, int deltay);
 
-#endif // AVCODEC_ROQVIDEO_H
+#endif /* AVCODEC_ROQVIDEO_H */