aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2010-01-24 16:37:12 +0000
committerLaurent Aimar <fenrir@videolan.org>2010-01-24 16:37:12 +0000
commit0dc343d4cb618a16d00da0e5305c569d9c1933e4 (patch)
treeb8cb663cf992822dd79bf84b828417c1764e5df7 /libavcodec/h264.c
parentf1f78a9d850774efb7293128ef68d2561c40d385 (diff)
downloadffmpeg-0dc343d4cb618a16d00da0e5305c569d9c1933e4.tar.gz
Added a missing const to ff_h264_get_slice_type().
Originally committed as revision 21421 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 08745d8e0c..61567eb6b7 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2147,7 +2147,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
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;