Revision 0dc343d4

View differences:

libavcodec/h264.c
2147 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 2152
    switch (h->slice_type) {
2153 2153
    case FF_P_TYPE:  return 0;
libavcodec/h264.h
617 617
/**
618 618
 * reconstructs bitstream slice_type.
619 619
 */
620
int ff_h264_get_slice_type(H264Context *h);
620
int ff_h264_get_slice_type(const H264Context *h);
621 621

  
622 622
/**
623 623
 * allocates tables.

Also available in: Unified diff