Revision bebe72f4 libavcodec/utils.c

View differences:

libavcodec/utils.c
1030 1030
    s->internal_buffer_count=0;
1031 1031
}
1032 1032

  
1033
#if FF_API_OLD_FF_PICT_TYPES
1033 1034
char av_get_pict_type_char(int pict_type){
1034
    switch(pict_type){
1035
    case FF_I_TYPE: return 'I';
1036
    case FF_P_TYPE: return 'P';
1037
    case FF_B_TYPE: return 'B';
1038
    case FF_S_TYPE: return 'S';
1039
    case FF_SI_TYPE:return 'i';
1040
    case FF_SP_TYPE:return 'p';
1041
    case FF_BI_TYPE:return 'b';
1042
    default:        return '?';
1043
    }
1035
    return av_get_picture_type_char(pict_type);
1044 1036
}
1037
#endif
1045 1038

  
1046 1039
int av_get_bits_per_sample(enum CodecID codec_id){
1047 1040
    switch(codec_id){

Also available in: Unified diff