38 #define CHECK_LOOP(type) \ 
   39     if (ast->loop ## type > 0) { \ 
   40         ast->loop ## type = av_rescale_rnd(ast->loop ## type, enc->sample_rate, 1000, AV_ROUND_DOWN); \ 
   41         if (ast->loop ## type < 0 || ast->loop ## type > UINT_MAX) { \ 
   42             av_log(s, AV_LOG_ERROR, "Invalid loop" #type " value\n"); \ 
   43             return AVERROR(EINVAL);  \ 
   52     unsigned int codec_tag;
 
  188 #define OFFSET(obj) offsetof(ASTMuxContext, obj) 
  212     .priv_class        = &ast_muxer_class,