Commit 937dd6c8 authored by fenrir's avatar fenrir

Added a missing const to ff_h264_get_slice_type().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21421 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f930ded2
......@@ -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;
......
......@@ -617,7 +617,7 @@ av_cold void ff_h264_free_context(H264Context *h);
/**
* reconstructs bitstream slice_type.
*/
int ff_h264_get_slice_type(H264Context *h);
int ff_h264_get_slice_type(const H264Context *h);
/**
* allocates tables.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment