You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Added a missing const to ff_h264_get_slice_type().
Originally committed as revision 21421 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -2147,7 +2147,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ff_h264_get_slice_type(H264Context *h)
|
int ff_h264_get_slice_type(const H264Context *h)
|
||||||
{
|
{
|
||||||
switch (h->slice_type) {
|
switch (h->slice_type) {
|
||||||
case FF_P_TYPE: return 0;
|
case FF_P_TYPE: return 0;
|
||||||
|
@@ -617,7 +617,7 @@ av_cold void ff_h264_free_context(H264Context *h);
|
|||||||
/**
|
/**
|
||||||
* reconstructs bitstream slice_type.
|
* reconstructs bitstream slice_type.
|
||||||
*/
|
*/
|
||||||
int ff_h264_get_slice_type(H264Context *h);
|
int ff_h264_get_slice_type(const H264Context *h);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* allocates tables.
|
* allocates tables.
|
||||||
|
Reference in New Issue
Block a user