changeset 10987:85de0c8a19b7 libavcodec

Added a missing const to ff_h264_get_slice_type().
author fenrir
date Sun, 24 Jan 2010 16:37:12 +0000
parents 4289d95e5022
children 3824ef98a6b8
files h264.c h264.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sun Jan 24 16:22:09 2010 +0000
+++ b/h264.c	Sun Jan 24 16:37:12 2010 +0000
@@ -2147,7 +2147,7 @@
     return 0;
 }
 
-int ff_h264_get_slice_type(H264Context *h)
+int ff_h264_get_slice_type(const H264Context *h)
 {
     switch (h->slice_type) {
     case FF_P_TYPE:  return 0;
--- a/h264.h	Sun Jan 24 16:22:09 2010 +0000
+++ b/h264.h	Sun Jan 24 16:37:12 2010 +0000
@@ -617,7 +617,7 @@
 /**
  * reconstructs bitstream slice_type.
  */
-int ff_h264_get_slice_type(H264Context *h);
+int ff_h264_get_slice_type(const H264Context *h);
 
 /**
  * allocates tables.