[FFmpeg-cvslog] Add "const" to avoid compiler warning.

Reimar Döffinger git at videolan.org
Tue Apr 22 20:45:06 CEST 2014


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Tue Apr 22 20:41:34 2014 +0200| [ab14bcb10420137bfd85ae5c2b04f5924fac1509] | committer: Reimar Döffinger

Add "const" to avoid compiler warning.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ab14bcb10420137bfd85ae5c2b04f5924fac1509
---

 libavcodec/hevc.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 4a6620f..0512721 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -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;



More information about the ffmpeg-cvslog mailing list