Add "const" to avoid compiler warning.
[ffmpeg.git] / libavcodec / hevc.h
index 4a6620f..0512721 100644 (file)
@@ -843,7 +843,7 @@ typedef struct HEVCContext {
     int **skipped_bytes_pos_nal;
     int *skipped_bytes_pos_size_nal;
 
-    uint8_t *data;
+    const uint8_t *data;
 
     HEVCNAL *nals;
     int nb_nals;