diff h264.c @ 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 541acd292c48
children 79f2e73f3714
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;