Revision fe9a3fbe libavcodec/h264_parser.c

View differences:

libavcodec/h264_parser.c
187 187
            h->sps = *h->sps_buffers[h->pps.sps_id];
188 188
            h->frame_num = get_bits(&h->s.gb, h->sps.log2_max_frame_num);
189 189

  
190
            avctx->profile = h->sps.profile_idc;
190
            avctx->profile = ff_h264_get_profile(&h->sps);
191 191
            avctx->level   = h->sps.level_idc;
192 192

  
193 193
            if(h->sps.frame_mbs_only_flag){

Also available in: Unified diff