comparison 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
comparison
equal deleted inserted replaced
10986:4289d95e5022 10987:85de0c8a19b7
2145 } 2145 }
2146 2146
2147 return 0; 2147 return 0;
2148 } 2148 }
2149 2149
2150 int ff_h264_get_slice_type(H264Context *h) 2150 int ff_h264_get_slice_type(const H264Context *h)
2151 { 2151 {
2152 switch (h->slice_type) { 2152 switch (h->slice_type) {
2153 case FF_P_TYPE: return 0; 2153 case FF_P_TYPE: return 0;
2154 case FF_B_TYPE: return 1; 2154 case FF_B_TYPE: return 1;
2155 case FF_I_TYPE: return 2; 2155 case FF_I_TYPE: return 2;