Revision be0995b1 libavcodec/h264.c

View differences:

libavcodec/h264.c
7008 7008
        if( aspect_ratio_idc == EXTENDED_SAR ) {
7009 7009
            sps->sar.num= get_bits(&s->gb, 16);
7010 7010
            sps->sar.den= get_bits(&s->gb, 16);
7011
        }else if(aspect_ratio_idc < 14){
7011
        }else if(aspect_ratio_idc < sizeof(pixel_aspect)/sizeof(*pixel_aspect)){
7012 7012
            sps->sar=  pixel_aspect[aspect_ratio_idc];
7013 7013
        }else{
7014 7014
            av_log(h->s.avctx, AV_LOG_ERROR, "illegal aspect ratio\n");

Also available in: Unified diff